Skip to content

Commit

Permalink
fix upload-to-release section of the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Honeycutt committed Jan 21, 2025
1 parent 2484a5d commit d8d4e32
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
upload-to-release:
if: github.event_name == 'release'
runs-on: ubuntu-latest
needs: [linux-x86_64, windows-mingw32, macos, macos-arm64]
needs: [linux-x86_64, linux-arm64, windows-mingw32, macos, macos-arm64]
steps:
- uses: actions/checkout@v4
- run: echo VERSION=$(./.github/workflows/version.py) > $GITHUB_ENV
Expand All @@ -181,6 +181,14 @@ jobs:
asset_path: keyboard-configurator-linux-x86_64-${{ github.sha }}/keyboard-configurator-x86_64.AppImage
asset_name: keyboard-configurator-${{ env.VERSION }}-x86_64.AppImage
asset_content_type: application/vnd.appimage
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: keyboard-configurator-linux-aarch64-${{ github.sha }}/keyboard-configurator-aarch64.AppImage
asset_name: keyboard-configurator-${{ env.VERSION }}-aarch64.AppImage
asset_content_type: application/vnd.appimage
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit d8d4e32

Please sign in to comment.