Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
Upload and download artifact GHA to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
growse committed Jan 5, 2024
1 parent 885e342 commit ac80026
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
fail_ci_if_error: true
if: always()
- name: Upload build artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
uses: actions/upload-artifact@v4
with:
name: target
path: target/**/${{ env.BINARY_NAME }}
Expand All @@ -70,7 +70,7 @@ jobs:
working-directory: ./packaging
bundler-cache: true
- name: Download build artifact
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3
uses: actions/download-artifact@v4
- name: Set binary as executable
run: |
find target -name ${{ env.BINARY_NAME }} -exec chmod +x {} \;
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
APP_URL: https://github.com/${{ github.repository }}
DEB_ARCH: ${{ env.PACKAGE_ARCH }}
- name: Upload build artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
uses: actions/upload-artifact@v4
with:
name: deb-package
path: "packaging/*.deb"
Expand All @@ -118,7 +118,7 @@ jobs:
needs: build-package
steps:
- name: Download build artifact
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3
uses: actions/download-artifact@v4
with:
name: deb-package
- name: Upload to Apt repo
Expand Down

0 comments on commit ac80026

Please sign in to comment.