Update GHA scripts

This commit is contained in:
ConfusedPolarBear 2022-10-19 01:37:20 -05:00
parent 1347bbdc31
commit 3dc503f5d3
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ jobs:
- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- name: Configure npm cache
uses: actions/cache@v3
@ -58,7 +58,7 @@ jobs:
id: web-commit
run: |
cd web
echo "::set-output name=commit::$(git log -1 --format='%H' | cut -c -10)"
echo "commit=$(git log -1 --format='%H' | cut -c -10)" >> $GITHUB_OUTPUT
- name: Build and copy web interface
run: |

View File

@ -20,7 +20,7 @@ jobs:
run: |
tag="$(git tag --sort=committerdate | tail -n 1)"
git checkout "$tag"
echo "::set-output name=tag::$tag"
echo "tag=$tag" >> $GITHUB_OUTPUT
- name: Setup .NET
uses: actions/setup-dotnet@v2