Update .gitea/workflows/dotnetbuild_runner.yaml
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m20s
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 1m20s
This commit is contained in:
@@ -21,6 +21,15 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
||||||
|
- name: Compute next version
|
||||||
|
id: versioning
|
||||||
|
run: |
|
||||||
|
latest="${{ vars.VERSION }}"
|
||||||
|
next_version=$(echo "$latest" | awk -F. -v OFS=. '{$NF += 1 ; print}')
|
||||||
|
echo "Next version: $next_version"
|
||||||
|
echo "next_version=$next_version" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
@@ -57,7 +66,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
|
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
|
||||||
--upload-file Simpsons_generator.zip \
|
--upload-file Simpsons_generator.zip \
|
||||||
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/Simpsons_generator/$latest_version/Simpsons_generator.zip
|
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/Simpsons_generator/$next_version/Simpsons_generator.zip
|
||||||
|
|
||||||
|
|
||||||
- name: upload latest executable version with version number
|
- name: upload latest executable version with version number
|
||||||
|
|||||||
Reference in New Issue
Block a user