Update GHA scripts
This commit is contained in:
parent
1347bbdc31
commit
3dc503f5d3
6
.github/workflows/container.yml
vendored
6
.github/workflows/container.yml
vendored
@ -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: |
|
||||
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user