Skip to content

Commit

Permalink
fix:release fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozingfiretruck committed Aug 28, 2024
1 parent 75bbe40 commit 1156641
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
run: |
xrepo update-repo
xmake -v -y
cp build/macosx/${{ matrix.arch }}/release/nes nes-macos-${{ matrix.arch }}.app
cp build/macosx/${{ matrix.arch }}/release/nes nes-macos-${{ matrix.arch }}.AppImage
- uses: actions/upload-artifact@v4
with:
name: nes-macos-${{ matrix.arch }}.app
path: nes-macos-${{ matrix.arch }}.app
name: nes-macos-${{ matrix.arch }}.AppImage
path: nes-macos-${{ matrix.arch }}.AppImage
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
run: |
xrepo update-repo
xmake -v -y
cp build/macosx/${{ matrix.arch }}/release/nes nes-macos-${{ matrix.arch }}.bin
cp build/macosx/${{ matrix.arch }}/release/nes nes-macos-${{ matrix.arch }}.AppImage
- name: Publish file to release
uses: svenstaro/upload-release-action@v2
Expand All @@ -58,7 +58,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file_glob: true
file: nes-macos-${{ matrix.arch }}.bin
file: nes-macos-${{ matrix.arch }}.AppImage
tag: ${{ github.ref }}
overwrite: true

Expand Down Expand Up @@ -96,11 +96,11 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file_glob: true
file: nes-macos-${{ matrix.arch }}.bin
file: nes-linux-${{ matrix.arch }}.bin
tag: ${{ github.ref }}
overwrite: true

build:
windows:
needs: release
strategy:
matrix:
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file_glob: true
file: nes-macos-${{ matrix.arch }}.exe
file: nes-windows-${{ matrix.arch }}.exe
tag: ${{ github.ref }}
overwrite: true

Expand Down

0 comments on commit 1156641

Please sign in to comment.