Skip to content

Commit

Permalink
ci: fix: updated upload and download artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
gnuton committed Nov 25, 2024
1 parent c38541f commit d0fffc3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,19 @@ jobs:
fi
- name: "Archive artifacts"
if: matrix.cfg.skip == false
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: release-${{ matrix.cfg.model }}-${{ matrix.cfg.ui }}
path: "/project/artifacts"
continue-on-error: true
release-job:
name: Publish
needs: build-job
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags/')
steps:
- name: Download packages
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
- name: Get release version
run: |
echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
Expand Down Expand Up @@ -200,7 +201,7 @@ jobs:
git config --global user.name "Circle CI BOT"
git config --global push.default simple
- name: Download packages
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
- name: "Publish Manifest"
env:
UPDATE_DIR: "updates"
Expand Down

0 comments on commit d0fffc3

Please sign in to comment.