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

@ -20,7 +20,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Login to GHCR - name: Login to GHCR
uses: docker/login-action@v2.0.0 uses: docker/login-action@v2.0.0
with: with:
@ -36,7 +36,7 @@ jobs:
- name: Get npm cache directory - name: Get npm cache directory
id: npm-cache-dir id: npm-cache-dir
run: | run: |
echo "::set-output name=dir::$(npm config get cache)" echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- name: Configure npm cache - name: Configure npm cache
uses: actions/cache@v3 uses: actions/cache@v3
@ -58,7 +58,7 @@ jobs:
id: web-commit id: web-commit
run: | run: |
cd web 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 - name: Build and copy web interface
run: | run: |

View File

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