„.gitea/workflows/build.yml“ ändern
Some checks failed
Export Game Job

This commit is contained in:
Snoweuph 2023-04-05 13:23:21 +00:00
parent 956f2004e4
commit 3297406a6f

View file

@ -12,7 +12,7 @@ jobs:
id: wine_install id: wine_install
run: | run: |
apt update -y && apt upgrade -y apt update -y && apt upgrade -y
apt install -y wine64 nodejs p7zip-full ca-certificates tree apt install -y wine64 nodejs p7zip-full ca-certificates tree awk jq curl
echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT
- name: download godot build libs - name: download godot build libs
run: | run: |
@ -47,7 +47,8 @@ jobs:
- name: get last release - name: get last release
run: | run: |
VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?page=1&limit=1' -H 'accept: application/json') VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?page=1&limit=1' -H 'accept: application/json')
VERSION=$(echo $VERSION | jq -r '.[0].tag_name' | awk -F. -v OFS=. '{$NF += 1 ; print}'') VERSION=$(echo $VERSION | jq -r '.[0].tag_name' | awk -F. -v OFS=. '{$NF += 1 ; print}')
echo $VERSION
- name: create release - name: create release
run: | run: |
curl -X 'POST' \ curl -X 'POST' \