1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-11-19 16:39:20 +02:00

CI: Update actions

[why]
The actions have several warnings.

[how]
Update them all.

For example action-gh-release 0.1.14 runs on node12 which is deprecated.

upload-artifacts 3 also switches to node16 and 3.1.1 removes obsolete
set-output.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2023-01-06 10:24:32 +01:00
parent 48a0ff8e63
commit 7f03f6c750
2 changed files with 8 additions and 8 deletions

View File

@ -35,7 +35,7 @@ jobs:
cd bin/scripts
./generate-casks.sh --setversion ${{ steps.releasetag.outputs.tag }}
- name: Upload casks as artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: casks
path: casks
@ -67,7 +67,7 @@ jobs:
git reset --hard upstream/master
git push --force origin HEAD:nerdfonts
- name: Retrieve new casks
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: casks
path: casks

View File

@ -67,7 +67,7 @@ jobs:
# If the tag exists it is obviously a re-release
# This would need a complete checkout, that we want to avoid
# uses: mukunku/tag-exists-action@v1.0.0
# uses: mukunku/tag-exists-action@v1.2.0
# with:
# tag: "v${{ steps.rel_ver.outputs.val }}"
# env:
@ -219,7 +219,7 @@ jobs:
./archive-fonts.sh "${{ matrix.font }}"
- name: Upload zip file archive for release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v0.1.15
if: needs.setup-fonts-matrix.outputs.rel_upload == 'true'
with:
draft: true
@ -228,7 +228,7 @@ jobs:
files: archives/*
- name: Upload patched fonts as artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: patched-fonts
# adding multiple paths (i.e. LICENSE) is a workaround to get a least common ancestor
@ -261,7 +261,7 @@ jobs:
./archive-font-patcher.sh
- name: Upload font-patcher archive for release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v0.1.15
if: needs.setup-fonts-matrix.outputs.rel_upload == 'true'
with:
draft: true
@ -282,7 +282,7 @@ jobs:
- name: Download patched fonts from build
id: download-patched-fonts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: patched-fonts
path: .
@ -381,7 +381,7 @@ jobs:
clean: false
- name: Adjust release tag to include previous commit
uses: EndBug/latest-tag@v1.5.0
uses: EndBug/latest-tag@v1.5.1
if: needs.setup-fonts-matrix.outputs.rel_upload == 'true'
with:
ref: "v${{ needs.setup-fonts-matrix.outputs.rel_version }}"