Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Has been cancelled
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user