ci: fix: updated download and upload github artifacts

This commit is contained in:
Antonio Aloisio 2024-11-21 00:48:45 +01:00
parent 87de2ba3f7
commit a9c7d2aacb

View file

@ -161,10 +161,11 @@ 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
@ -172,7 +173,7 @@ jobs:
if: startsWith(github.event.ref, 'refs/tags/')
steps:
- name: Download packages
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
- name: Get release version
run: |
echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
@ -205,7 +206,7 @@ jobs:
git config --global user.name "Circle CI BOT"
git config --global push.default simple
- name: Download packages
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
- name: "Publish Manifest"
env:
UPDATE_DIR: "updates"