Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m22s

This commit is contained in:
2025-06-10 12:17:24 +00:00
parent 0998bf4b3f
commit 6b2b6b3996
+2 -10
View File
@@ -15,14 +15,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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: show new version
run: echo $latest_version
- name: show new version - name: show new version
run: echo ${{env.latest_version}} run: echo ${{env.latest_version}}
@@ -38,7 +30,7 @@ jobs:
- name: Test with dotnet - name: Test with dotnet
run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}" run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
- name: Build the package - name: Build the package
run: dotnet build -p:Version=${{latest_version}} run: dotnet build -p:Version=${{env.latest_version}}
- name: Publish the package - name: Publish the package
run: dotnet publish -p:PublishSingleFile=true --self-contained false --runtime win-x64 run: dotnet publish -p:PublishSingleFile=true --self-contained false --runtime win-x64
- name: copy the release before compression - name: copy the release before compression
@@ -94,4 +86,4 @@ jobs:
curl -X PUT -H "Content-Type: application/json" \ curl -X PUT -H "Content-Type: application/json" \
--user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \ --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
https://gitea.tryton.geeraert.eu/api/v1/repos/pi-ux-ce/Simpsons_generator/actions/variables/VERSION \ https://gitea.tryton.geeraert.eu/api/v1/repos/pi-ux-ce/Simpsons_generator/actions/variables/VERSION \
-d '{"Value":"${{env.latest_version}}"}' -d '{"Value":${{env.latest_version}}}'