Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m22s
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m22s
This commit is contained in:
@@ -15,14 +15,6 @@ 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: show new version
|
||||
run: echo $latest_version
|
||||
|
||||
- name: show new version
|
||||
run: echo ${{env.latest_version}}
|
||||
|
||||
@@ -38,7 +30,7 @@ jobs:
|
||||
- name: Test with dotnet
|
||||
run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
|
||||
- name: Build the package
|
||||
run: dotnet build -p:Version=${{latest_version}}
|
||||
run: dotnet build -p:Version=${{env.latest_version}}
|
||||
- name: Publish the package
|
||||
run: dotnet publish -p:PublishSingleFile=true --self-contained false --runtime win-x64
|
||||
- name: copy the release before compression
|
||||
@@ -94,4 +86,4 @@ jobs:
|
||||
curl -X PUT -H "Content-Type: application/json" \
|
||||
--user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
|
||||
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}}}'
|
||||
Reference in New Issue
Block a user