parent
956f2004e4
commit
3297406a6f
1 changed files with 3 additions and 2 deletions
|
@ -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' \
|
||||||
|
|
Loading…
Reference in a new issue