Skip to content

Commit

Permalink
ci: update artifact upload workflow
Browse files Browse the repository at this point in the history
- Replace nightly release deployment with GitHub artifact upload
- Use actions/upload-artifact@v4 for build artifact management
- Set artifact retention to 3 days
- Comment out previous nightly release deployment step
  • Loading branch information
qianlifeng committed Feb 27, 2025
1 parent af4dae5 commit fc15ead
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,18 @@ jobs:
run: make publish
env:
KEYCHAINPWD: ${{ matrix.needs_keychain && secrets.KEYCHAINPWD || '' }}
- name: Deploy nightly release
uses: WebFreak001/[email protected]
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
upload_url: https://uploads.github.com/repos/Wox-launcher/Wox/releases/127182165/assets{?name,label}
release_id: 127182165
asset_path: ${{ matrix.asset_path }}
asset_name: ${{ matrix.asset_name }}
asset_content_type: ${{ matrix.content_type }}
max_releases: 1
name: ${{ matrix.asset_name }}
path: ${{ matrix.asset_path }}
retention-days: 3
# - name: Deploy nightly release
# uses: WebFreak001/[email protected]
# with:
# upload_url: https://uploads.github.com/repos/Wox-launcher/Wox/releases/127182165/assets{?name,label}
# release_id: 127182165
# asset_path: ${{ matrix.asset_path }}
# asset_name: ${{ matrix.asset_name }}
# asset_content_type: ${{ matrix.content_type }}
# max_releases: 1

0 comments on commit fc15ead

Please sign in to comment.