Skip to content

Commit

Permalink
feat: enable apple release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rickimoore committed Aug 2, 2023
1 parent 5fb4ee4 commit e60baf0
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,16 @@ jobs:
arch: [
aarch64-unknown-linux-gnu,
x86_64-unknown-linux-gnu,
# Requires apple signature secrets
# x86_64-apple-darwin,
x86_64-apple-darwin,
x86_64-windows
]
include:
- arch: aarch64-unknown-linux-gnu
platform: ubuntu-latest
- arch: x86_64-unknown-linux-gnu
platform: ubuntu-latest
# Requires apple signature secrets
#- arch: x86_64-apple-darwin
# platform: macos-latest
- arch: x86_64-apple-darwin
platform: macos-latest
- arch: x86_64-windows
platform: windows-2019

Expand Down Expand Up @@ -71,7 +69,7 @@ jobs:
run: |
mv out/make/zip/*/*/*.zip ./siren-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.zip
- name: Move unsigned packages (windows)
- name: Move unsigned packages (windows)
if: startsWith(matrix.arch, 'x86_64-windows')
run: |
move out/make/zip/*/*/*.zip ./siren-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.zip
Expand All @@ -97,8 +95,7 @@ jobs:
arch: [
aarch64-unknown-linux-gnu,
x86_64-unknown-linux-gnu,
# Requires apple signature secrets
# x86_64-apple-darwin,
x86_64-apple-darwin,
x86_64-windows
]
steps:
Expand Down Expand Up @@ -128,25 +125,25 @@ jobs:
- name: Upload signature (${{ matrix.arch }})
uses: actions/upload-artifact@v3
with:
with:
name: siren-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.zip.asc
path: artifacts/siren-${{ needs.extract-version.outputs.VERSION }}-${{ matrix.arch }}.zip.asc

# - name: Upload signature (aarch64-unknown-linux-gnu)
# uses: actions/upload-artifact@v3
# with:
# name: siren-${{ needs.extract-version.outputs.VERSION }}-aarch64-unknown-linux-gnu.zip.asc
# path: artifacts//siren-${{ needs.extract-version.outputs.VERSION }}-aarch64-unknown-linux-gnu.zip.asc
# - name: Upload signature (x86_64-unknown-linux-gnu)
# uses: actions/upload-artifact@v3
# with:
# name: siren-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.zip.asc
# path: artifacts/siren-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.zip.asc
# - name: Upload signature (x86_64-windows)
# uses: actions/upload-artifact@v3
# with:
# name: siren-${{ needs.extract-version.outputs.VERSION }}-x86_64-windows.zip.asc
# path: artifacts/siren-${{ needs.extract-version.outputs.VERSION }}-x86_64-windows.zip.asc
- name: Upload signature (aarch64-unknown-linux-gnu)
uses: actions/upload-artifact@v3
with:
name: siren-${{ needs.extract-version.outputs.VERSION }}-aarch64-unknown-linux-gnu.zip.asc
path: artifacts//siren-${{ needs.extract-version.outputs.VERSION }}-aarch64-unknown-linux-gnu.zip.asc
- name: Upload signature (x86_64-unknown-linux-gnu)
uses: actions/upload-artifact@v3
with:
name: siren-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.zip.asc
path: artifacts/siren-${{ needs.extract-version.outputs.VERSION }}-x86_64-unknown-linux-gnu.zip.asc
- name: Upload signature (x86_64-windows)
uses: actions/upload-artifact@v3
with:
name: siren-${{ needs.extract-version.outputs.VERSION }}-x86_64-windows.zip.asc
path: artifacts/siren-${{ needs.extract-version.outputs.VERSION }}-x86_64-windows.zip.asc

draft-release:
name: Draft Release
Expand Down

0 comments on commit e60baf0

Please sign in to comment.