From 3dc503f5d38657edf7d290d0301142eef6a777e3 Mon Sep 17 00:00:00 2001 From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com> Date: Wed, 19 Oct 2022 01:37:20 -0500 Subject: [PATCH] Update GHA scripts --- .github/workflows/container.yml | 6 +++--- .github/workflows/publish.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index e7fb795..537229c 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v3 - + - name: Login to GHCR uses: docker/login-action@v2.0.0 with: @@ -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: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 796c575..d91b447 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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