Skip to content

Commit

Permalink
- update: github actions/download-artifact to v4
Browse files Browse the repository at this point in the history
- update: github actions/upload-artifact to v4
  • Loading branch information
RavenX8 committed Nov 28, 2024
1 parent f1adf36 commit 20cc5d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Prepare Release
run: tar --transform 's/.*\///g' -zcvf ${{github.workspace}}/${{ runner.os }}-${{ env.PROCESSOR_ARCH }}-packet_generator.tar.gz target/*/packet_generator
- name: Upload linux build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: linux_build
path: ${{github.workspace}}/${{ runner.os }}-${{ env.PROCESSOR_ARCH }}-packet_generator.tar.gz
Expand All @@ -37,7 +37,7 @@ jobs:
copy-item ${{github.workspace}}\target\release\packet_generator.exe -destination ${{github.workspace}}\packet_generator.exe
7z a ${{github.workspace}}/windows-amd64-packet_generator.zip ${{github.workspace}}\packet_generator.exe
- name: Upload windows build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: windows_build
path: ${{github.workspace}}/windows-amd64-packet_generator.zip
Expand All @@ -48,11 +48,11 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- name: Download linux build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: linux_build
- name: Download windows build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: windows_build
- name: Release
Expand Down

0 comments on commit 20cc5d4

Please sign in to comment.