From 9ecf7c75bfa951d8ff3073e50511bc163daa6626 Mon Sep 17 00:00:00 2001 From: Matteo Valentini Date: Wed, 4 Sep 2024 10:20:48 +0200 Subject: [PATCH] actions: update artifact actions Update both actions to v4 major version. Refer to the migration guide: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5f445ace3..371f06459 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} @@ -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 @@ -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 @@ -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