This commit is contained in:
parent
a89140c454
commit
f5e67d7103
1 changed files with 4 additions and 4 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 jq curl zip build-essential sudo scons pkg-config libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libudev-dev libxi-dev libxrandr-dev
|
apt install -y wine64 nodejs p7zip-full ca-certificates tree jq curl zip
|
||||||
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: |
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- name: Export for Linux
|
- name: Export for Linux
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./builds/linux/
|
mkdir -p ./builds/linux/
|
||||||
sudo /root/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64 /var/lib/actions/project.godot --headless --export-release "Linux/X11" ./builds/linux/Game.x86_64
|
/root/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64 /var/lib/actions/project.godot -q --headless --export-release "Linux/X11" ./builds/linux/Game.x86_64
|
||||||
- name: Package for Linux
|
- name: Package for Linux
|
||||||
run: |
|
run: |
|
||||||
cd builds
|
cd builds
|
||||||
|
@ -39,7 +39,7 @@ jobs:
|
||||||
- name: Export for Windows
|
- name: Export for Windows
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./builds/windows/
|
mkdir -p ./builds/windows/
|
||||||
/root/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64 /var/lib/actions/project.godot --headless --export-release "Windows Desktop" ./builds/windows/Game.exe
|
/root/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64 /var/lib/actions/project.godot -q --headless --export-release "Windows Desktop" ./builds/windows/Game.exe
|
||||||
- name: Package for Windows
|
- name: Package for Windows
|
||||||
run: |
|
run: |
|
||||||
cd builds
|
cd builds
|
||||||
|
@ -48,7 +48,7 @@ jobs:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
run: |
|
run: |
|
||||||
echo "Getting last Release Tag"
|
echo "Getting last Release Tag"
|
||||||
VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?pre-release=true&page=1&limit=1' -H 'accept: application/json' -H 'Authorization: token ${{ secrets.RELEASE_TOKEN }}' )
|
VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?page=1&limit=1' -H 'accept: application/json' -H 'Authorization: token ${{ secrets.RELEASE_TOKEN }}' )
|
||||||
echo $VERSION | jq -r '.[0].tag_name'
|
echo $VERSION | jq -r '.[0].tag_name'
|
||||||
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 "Generate new Release with tag: $VERSION"
|
echo "Generate new Release with tag: $VERSION"
|
||||||
|
|
Loading…
Reference in a new issue