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 🚀
|
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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user