Print GITHUB_WORKSPACE

This commit is contained in:
Uku Taht 2022-05-03 15:21:02 +03:00
parent f11f6844e8
commit 28e19e9278
2 changed files with 9 additions and 1 deletions

View File

@ -23,7 +23,6 @@ jobs:
run: ./rel/prepare_release.sh ${{ steps.extract_branch.outputs.branch }} run: ./rel/prepare_release.sh ${{ steps.extract_branch.outputs.branch }}
id: prepare_release id: prepare_release
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1

View File

@ -11,6 +11,15 @@ fi
if [ "$GITHUB_WORKSPACE" != "" ] if [ "$GITHUB_WORKSPACE" != "" ]
then then
TARGET=$GITHUB_WORKSPACE/priv/static/version.json TARGET=$GITHUB_WORKSPACE/priv/static/version.json
echo "===================="
echo "> ls GITHUB_WORKSPACE"
ls $GITHUB_WORKSPACE
echo "> ls GITHUB_WORKSPACE/priv"
ls $GITHUB_WORKSPACE/priv
echo "> ls GITHUB_WORKSPACE/priv/static"
ls $GITHUB_WORKSPACE/priv/static
echo "===================="
else else
TARGET=$(pwd)/priv/static/version.json TARGET=$(pwd)/priv/static/version.json
fi fi