Skip to content

Commit

Permalink
Set download-artifact and upload-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Jun 30, 2024
1 parent aeac45f commit 823db92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
dest: TwitchDownloaderGUI-Windows-x64.zip

- name: Upload Windows GUI Artifact Asset
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: TwitchDownloaderGUI-Windows-x64.zip
path: TwitchDownloaderGUI-Windows-x64.zip
Expand Down Expand Up @@ -98,31 +98,31 @@ jobs:
dest: TwitchDownloaderCLI-LinuxArm64.zip

- name: Upload Windows CLI Artifact Asset
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: TwitchDownloaderCLI-Windows-x64.zip
path: TwitchDownloaderCLI-Windows-x64.zip

- name: Upload Linux CLI Artifact Asset
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: TwitchDownloaderCLI-Linux-x64.zip
path: TwitchDownloaderCLI-Linux-x64.zip

- name: Upload LinuxAlpine CLI Artifact Asset
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: TwitchDownloaderCLI-LinuxAlpine-x64.zip
path: TwitchDownloaderCLI-LinuxAlpine-x64.zip

- name: Upload LinuxArm CLI Artifact Asset
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: TwitchDownloaderCLI-LinuxArm.zip
path: TwitchDownloaderCLI-LinuxArm.zip

- name: Upload LinuxArm64 CLI Artifact Asset
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: TwitchDownloaderCLI-LinuxArm64.zip
path: TwitchDownloaderCLI-LinuxArm64.zip
Expand Down Expand Up @@ -154,13 +154,13 @@ jobs:
dest: TwitchDownloaderCLI-MacOSArm64.zip

- name: Upload MacOS CLI Artifact Asset
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: TwitchDownloaderCLI-MacOS-x64.zip
path: TwitchDownloaderCLI-MacOS-x64.zip

- name: Upload MacOSArm64 CLI Artifact Asset
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: TwitchDownloaderCLI-MacOSArm64.zip
path: TwitchDownloaderCLI-MacOSArm64.zip
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
expr "${{ steps.create_release.outputs.upload_url }}" > upload_url.txt
- name: Upload URL
uses: actions/upload-artifact@v4.3.3
uses: actions/upload-artifact@v4
with:
name: upload_url.txt
path: upload_url.txt
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
dest: TwitchDownloaderGUI-${{ github.event.inputs.release_tag }}-Windows-x64.zip

- name: Download URL
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: upload_url.txt

Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-LinuxArm64.zip

- name: Download URL
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: upload_url.txt

Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
dest: TwitchDownloaderCLI-${{ github.event.inputs.release_tag }}-MacOSArm64.zip

- name: Download URL
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: upload_url.txt

Expand Down

0 comments on commit 823db92

Please sign in to comment.