experimenting with the tag name output
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s Details

pull/11/head
macniel 2025-09-25 16:18:12 +02:00
parent b7c4aa320b
commit 41ba5c81d0
1 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,10 @@ jobs:
build:
runs-on: node-01
steps:
- name: Print Tag
run: echo ${{github.ref_name}}
run: echo ${GITHUB_REF##*/}
- name: Checkout code
uses: actions/checkout@v2
@ -24,7 +28,7 @@ jobs:
- name: Build project
env:
VERSION: ${{ github.ref_name }}
VERSION: ${GITHUB_REF##*/}
run: npm run build
- name: Package build output
@ -32,6 +36,7 @@ jobs:
cd ./dist
zip -r release.zip . # Adjust the path to your build output directory
mv release.zip /tmp/release.zip
- name: Package Upload
uses: akkuman/gitea-release-action@v1
with: