From 0998bf4b3fef8e195d4d1bdb75108dacdc92e462 Mon Sep 17 00:00:00 2001 From: pi-ux-ce Date: Tue, 10 Jun 2025 12:16:12 +0000 Subject: [PATCH] Update .gitea/workflows/dotnetbuild_runner.yaml --- .gitea/workflows/dotnetbuild_runner.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/dotnetbuild_runner.yaml b/.gitea/workflows/dotnetbuild_runner.yaml index 98cbc01..6205b86 100644 --- a/.gitea/workflows/dotnetbuild_runner.yaml +++ b/.gitea/workflows/dotnetbuild_runner.yaml @@ -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