diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7d62a0d..0a45ac8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - run: echo "🍏 This job's status is ${{ job.status }}." tag-only-job: runs-on: act-runner - # if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + if: gitea.event_name == 'push' && contains(gitea.ref, 'refs/tags/') needs: Explore-Gitea-Actions container: image: catthehacker/ubuntu:act-latest @@ -37,7 +37,12 @@ jobs: with: name: build path: build - - run: ls -al . + - name: env + run: | + printenv + echo "Tag name from GITHUB_REF_NAME: $GITEA_REF_NAME" + echo "Tag name from github.ref_name: ${{ gitea.ref_name }}" + run: ls -al . - run: ls -al build - name: Set up QEMU uses: docker/setup-qemu-action@master