Skip to content

Commit

Permalink
use actions/upload-artifact@v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonwan committed Apr 5, 2024
1 parent 3562ed5 commit 16a35aa
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Package Windows
run: npm run pack-win
- name: Upload Artifact - Windows
uses: actions/upload-artifact@4
uses: actions/upload-artifact@v4
with:
name: m3u8downloader-v${{ env.APP_VERSION }}-win32-x64.zip
path: release\m3u8downloader-v${{ env.APP_VERSION }}-win32-x64.zip
Expand All @@ -37,14 +37,13 @@ jobs:
- name: Package MacOS
run: npm run pack-mac
- name: Upload Artifact - MacOS
uses: actions/upload-artifact@4
uses: actions/upload-artifact@v4
with:
name: m3u8downloader-v${{ env.APP_VERSION }}-darwin-x64.dmg
path: release\m3u8downloader-v${{ env.APP_VERSION }}-darwin-x64.dmg

build-linux-x64:
runs-on: ubuntu-latest
container: ubuntu:20.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -56,7 +55,7 @@ jobs:
- name: Package Linux
run: npm run pack-linux
- name: Upload Artifact - Linux
uses: actions/upload-artifact@4
uses: actions/upload-artifact@v4
with:
name: m3u8downloader-v${{ env.APP_VERSION }}-linux-x64.tar.gz
path: release\m3u8downloader-v${{ env.APP_VERSION }}-linux-x64.tar.gz

0 comments on commit 16a35aa

Please sign in to comment.