-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update release pipelines to upload release artifacts
- Loading branch information
Showing
52 changed files
with
593 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Notarize | ||
inputs: | ||
app-store-key: | ||
description: App Store key in PEM PKCS#8 format | ||
required: true | ||
app-store-key-id: | ||
description: App Store key ID | ||
required: true | ||
app-store-key-issuer-id: | ||
description: App Store key issuer ID | ||
required: true | ||
archive-path: | ||
description: Xcode archive path | ||
required: true | ||
export-path: | ||
description: The path to export the archive to | ||
required: true | ||
outputs: | ||
notarized-app: | ||
description: The compressed and notarized app | ||
value: ${{ steps.notarize.outputs.notarized-app }} | ||
runs: | ||
using: composite | ||
steps: | ||
- id: notarize | ||
shell: bash | ||
working-directory: Apple | ||
run: | | ||
echo "${{ inputs.app-store-key }}" > AuthKey_${{ inputs.app-store-key-id }}.p8 | ||
echo '{"destination":"upload","method":"developer-id"}' \ | ||
| plutil -convert xml1 -o ExportOptions.plist - | ||
xcodebuild \ | ||
-exportArchive \ | ||
-allowProvisioningUpdates \ | ||
-allowProvisioningDeviceRegistration \ | ||
-authenticationKeyID ${{ inputs.app-store-key-id }} \ | ||
-authenticationKeyIssuerID ${{ inputs.app-store-key-issuer-id }} \ | ||
-authenticationKeyPath "${PWD}/AuthKey_${{ inputs.app-store-key-id }}.p8" \ | ||
-archivePath '${{ inputs.archive-path }}' \ | ||
-exportOptionsPlist ExportOptions.plist | ||
until xcodebuild \ | ||
-exportNotarizedApp \ | ||
-allowProvisioningUpdates \ | ||
-allowProvisioningDeviceRegistration \ | ||
-authenticationKeyID ${{ inputs.app-store-key-id }} \ | ||
-authenticationKeyIssuerID ${{ inputs.app-store-key-issuer-id }} \ | ||
-authenticationKeyPath "${PWD}/AuthKey_${{ inputs.app-store-key-id }}.p8" \ | ||
-archivePath '${{ inputs.archive-path }}' \ | ||
-exportPath ${{ inputs.export-path }} | ||
do | ||
echo "Failed to export app, trying again in 10s..." | ||
sleep 10 | ||
done | ||
rm -rf AuthKey_${{ inputs.app-store-key-id }}.p8 ExportOptions.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Rust Build | ||
name: Build Rust Crate | ||
on: | ||
push: | ||
branches: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Release (AppImage) | ||
on: | ||
release: | ||
types: | ||
- created | ||
jobs: | ||
appimage: | ||
name: Build AppImage | ||
runs-on: ubuntu-latest | ||
container: docker | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Build | ||
run: | | ||
docker build -t appimage-builder . -f burrow-gtk/build-aux/Dockerfile | ||
docker create --name temp appimage-builder | ||
docker cp temp:/app/burrow-gtk/build-appimage/Burrow-x86_64.AppImage . | ||
docker rm temp | ||
- name: Upload to GitHub | ||
uses: SierraSoftworks/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
release_tag: ${{ github.ref }} | ||
overwrite: 'true' | ||
files: | | ||
Burrow-x86_64.AppImage |
Oops, something went wrong.