Skip to content

Commit

Permalink
actions: update artifact actions
Browse files Browse the repository at this point in the history
Update both actions to v4 major version.
Refer to the migration guide:
https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
  • Loading branch information
Amygos committed Sep 4, 2024
1 parent 3a9a609 commit 8634c07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Build binary
run: CGO_ENABLED=0 go build
- name: Upload binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.0
with:
name: ${{ matrix.build.name }}
path: ${{ matrix.build.path }}/${{ matrix.build.name }}
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Create tar.gz
run: cd dist && tar cvzf ../${{ matrix.build.name }}.tar.gz .
- name: Upload tar.gz
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.0
with:
name: ${{ matrix.build.name }}
path: ${{ matrix.build.path }}/${{ matrix.build.name }}.tar.gz
Expand All @@ -93,7 +93,7 @@ jobs:
docker cp makerpms:/srv/makerpms/rpmbuild/RPMS/noarch/ RPMS
cp RPMS/* dedalo.rpm
- name: Upload dedalo
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4.4.0
with:
name: dedalo
path: dedalo/dist/dedalo.rpm
Expand All @@ -107,7 +107,7 @@ jobs:
- dedalo
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4.1.8
with:
path: artifacts
- id: release
Expand Down

0 comments on commit 8634c07

Please sign in to comment.