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
|
||||
|
||||
|
||||
- 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
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
@@ -57,7 +66,7 @@ jobs:
|
||||
run: |
|
||||
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
|
||||
--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
|
||||
|
||||
Reference in New Issue
Block a user