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 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push] on: [push]
env:
latest_version: ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}'
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
strategy: strategy:
@@ -11,14 +15,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: setup new version #- name: setup new version
run: echo ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}' # run: echo ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}'
env: # env:
latest_version: ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}' # latest_version: ${{vars.VERSION}} |awk -F. -v OFS=. '{$NF += 1 ; print}'
- name: show new version - name: show new version
run: echo $latest_version run: echo $latest_version
- name: show new version
run: echo ${{env.latest_version}}
- uses: actions/checkout@v4 - uses: actions/checkout@v4