fix(release): use artifact actions v3 on Gitea mirrors. (#11)
v4+ relies on @actions/artifact v2, which this runner rejects. Download uses path: . so release PDFs land in the job root for ls *.pdf. Reviewed-on: #11 Co-authored-by: keligrubb <keligrubb324@gmail.com> Co-committed-by: keligrubb <keligrubb324@gmail.com>
This commit was merged in pull request #11.
This commit is contained in:
@@ -34,7 +34,7 @@ jobs:
|
||||
run: npm start
|
||||
|
||||
- name: Upload PDF artifact
|
||||
uses: https://git.keligrubb.com/actions/upload-artifact@v7
|
||||
uses: https://git.keligrubb.com/actions/upload-artifact@v3
|
||||
with:
|
||||
name: release-pdf
|
||||
path: "*.pdf"
|
||||
@@ -47,9 +47,10 @@ jobs:
|
||||
GITEA_TOKEN: ${{ secrets.SCROLLSMITH_GITEA_TOKEN }}
|
||||
steps:
|
||||
- name: Download PDF artifact
|
||||
uses: https://git.keligrubb.com/actions/download-artifact@v8
|
||||
uses: https://git.keligrubb.com/actions/download-artifact@v3
|
||||
with:
|
||||
name: release-pdf
|
||||
path: .
|
||||
|
||||
- name: Create release and upload PDF
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user