experimenting with the tag name output
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1s
Details
parent
b7c4aa320b
commit
41ba5c81d0
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue