Forgejo Actions Debugging
This commit is contained in:
parent
7248b26278
commit
04e0bc6ccb
1 changed files with 4 additions and 4 deletions
|
@ -35,8 +35,7 @@ jobs:
|
|||
-
|
||||
name: Check if Version in package.json matches Tag
|
||||
run: |
|
||||
echo "Test"
|
||||
VERSION=$(cat package.json | grep "version" | sed 's/.*://' | tr -d , | tr -d \" )
|
||||
VERSION=$(cat package.json | grep "version" | sed 's/.*://' | tr -d , | tr -d \" | tr -d " " )
|
||||
if test $VERSION != "${{ github.ref_name }}"; then
|
||||
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
|
||||
exit 1
|
||||
|
@ -68,6 +67,7 @@ jobs:
|
|||
else
|
||||
echo "latest=forgejo.neshweb.net/neshweb-sites/${{ github.event.repository.name }}:latest" >> "$GITHUB:OUTPUT";
|
||||
fi
|
||||
echo ${{ github.ref_name }}
|
||||
echo "version=forgejo.neshweb.net/neshweb-sites/${{ github.event.repository.name }}:${{ github.ref_name }}" >> "$GITHUB:OUTPUT";
|
||||
-
|
||||
name: Push to Package Registry
|
||||
|
|
Loading…
Reference in a new issue