Skip to content

Commit

Permalink
chore: update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chenfan0 committed Oct 14, 2024
1 parent 4def911 commit a8ce86c
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,19 @@ jobs:
fi
shell: bash

- name: Upload Windows build artifact
- name: Upload Windows build artifact (x64)
if: ${{ runner.os == 'Windows' }}
uses: actions/upload-artifact@v4
with:
name: build-win-${{ env.VERSION }}
path: dist/fideo-${{ env.VERSION }}.exe
name: build-win-x64-${{ env.VERSION }}
path: dist/fideo-${{ env.VERSION }}-x64.exe

- name: Upload Windows build artifact (arm64)
if: ${{ runner.os == 'Windows' }}
uses: actions/upload-artifact@v4
with:
name: build-win-arm64-${{ env.VERSION }}
path: dist/fideo-${{ env.VERSION }}-arm64.exe

- name: Upload macOS build artifacts (x64)
if: ${{ runner.os == 'macOS' }}
Expand All @@ -70,10 +77,16 @@ jobs:
id: get_version
run: echo "VERSION=$(node -p -e "require('./package.json').version")" >> $GITHUB_ENV

- name: Download Windows build artifact
- name: Download Windows build artifact (x64)
uses: actions/download-artifact@v4
with:
name: build-win-x64-${{ env.VERSION }}
path: .

- name: Download Windows build artifact (arm64)
uses: actions/download-artifact@v4
with:
name: build-win-${{ env.VERSION }}
name: build-win-arm64-${{ env.VERSION }}
path: .

- name: Download macOS build artifacts (x64)
Expand Down

0 comments on commit a8ce86c

Please sign in to comment.