Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Has been cancelled

This commit is contained in:
2025-06-10 12:16:12 +00:00
parent 8a39d4a4b2
commit 0998bf4b3f
+11 -4
View File
@@ -2,6 +2,10 @@ name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
env:
latest_version: ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}'
jobs:
Explore-Gitea-Actions:
strategy:
@@ -11,14 +15,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: setup new version
run: echo ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}'
env:
latest_version: ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}'
#- name: setup new version
# run: echo ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}'
# env:
# latest_version: ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}'
- name: show new version
run: echo $latest_version
- name: show new version
run: echo ${{env.latest_version}}
- uses: actions/checkout@v4