mirror of
https://github.com/gnuton/asuswrt-merlin.ng.git
synced 2025-05-10 14:22:00 +02:00
ci: fix: updated download and upload github artifacts
This commit is contained in:
parent
87de2ba3f7
commit
a9c7d2aacb
1 changed files with 4 additions and 3 deletions
7
.github/workflows/github-actions.yml
vendored
7
.github/workflows/github-actions.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue