Test with full build process
This commit is contained in:
@ -14,74 +14,74 @@ env:
|
|||||||
ACTIONS_STEP_DEBUG: true
|
ACTIONS_STEP_DEBUG: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# export-windows:
|
export-windows:
|
||||||
# name: Windows Export
|
name: Windows Export
|
||||||
# runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
||||||
# container:
|
container:
|
||||||
# image: barichello/godot-ci:mono-4.4.1 # change to mono
|
image: barichello/godot-ci:mono-4.4.1 # change to mono
|
||||||
# steps:
|
steps:
|
||||||
# # Doing this becuase barichello/godot-ci:4.4 doesn't have nodejs installed, may need to make own docker image in the future
|
# Doing this becuase barichello/godot-ci:4.4 doesn't have nodejs installed, may need to make own docker image in the future
|
||||||
# # By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
|
# By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
|
||||||
# - name: Install Node.js
|
- name: Install Node.js
|
||||||
# run: |
|
run: |
|
||||||
# apt-get update
|
apt-get update
|
||||||
# apt-get install -y curl
|
apt-get install -y curl
|
||||||
# curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
||||||
# apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
# - name: Checkout
|
- name: Checkout
|
||||||
# uses: https://gitea.com/actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
# with:
|
with:
|
||||||
# lfs: true
|
lfs: true
|
||||||
# - name: Setup
|
- name: Setup
|
||||||
# run: |
|
run: |
|
||||||
# mkdir -v -p ~/.local/share/godot/export_templates/
|
mkdir -v -p ~/.local/share/godot/export_templates/
|
||||||
# mkdir -v -p ~/.config/
|
mkdir -v -p ~/.config/
|
||||||
# - name: Windows Build
|
- name: Windows Build
|
||||||
# run: |
|
run: |
|
||||||
# mkdir -v -p build/windows
|
mkdir -v -p build/windows
|
||||||
# EXPORT_DIR="$(readlink -f build)"
|
EXPORT_DIR="$(readlink -f build)"
|
||||||
# cd $PROJECT_PATH
|
cd $PROJECT_PATH
|
||||||
# godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
|
godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
|
||||||
|
|
||||||
# - name: Upload Artifact
|
- name: Upload Artifact
|
||||||
# uses: https://gitea.com/actions/upload-artifact@v3 # using v3 ad v4 has issues wwith gitea
|
uses: https://gitea.com/actions/upload-artifact@v3 # using v3 ad v4 has issues wwith gitea
|
||||||
# with:
|
with:
|
||||||
# name: windows
|
name: windows
|
||||||
# path: build/windows
|
path: build/windows
|
||||||
|
|
||||||
|
|
||||||
# export-linux:
|
export-linux:
|
||||||
# name: Linux Export
|
name: Linux Export
|
||||||
# runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
|
||||||
# container:
|
container:
|
||||||
# image: barichello/godot-ci:4.4
|
image: barichello/godot-ci:4.4
|
||||||
# steps:
|
steps:
|
||||||
# # Doing this becuase barichello/godot-ci:4.4 doesn't have nodejs installed, may need to make own docker image in the future
|
# Doing this becuase barichello/godot-ci:4.4 doesn't have nodejs installed, may need to make own docker image in the future
|
||||||
# # By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
|
# By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
|
||||||
# - name: Install Node.js
|
- name: Install Node.js
|
||||||
# run: |
|
run: |
|
||||||
# apt-get update
|
apt-get update
|
||||||
# apt-get install -y curl
|
apt-get install -y curl
|
||||||
# curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
|
||||||
# apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
# - name: Checkout
|
- name: Checkout
|
||||||
# uses: https://gitea.com/actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
# with:
|
with:
|
||||||
# lfs: true
|
lfs: true
|
||||||
# - name: Setup
|
- name: Setup
|
||||||
# run: |
|
run: |
|
||||||
# mkdir -v -p ~/.local/share/godot/export_templates/
|
mkdir -v -p ~/.local/share/godot/export_templates/
|
||||||
# - name: Linux Build
|
- name: Linux Build
|
||||||
# run: |
|
run: |
|
||||||
# mkdir -v -p build/linux
|
mkdir -v -p build/linux
|
||||||
# EXPORT_DIR="$(readlink -f build)"
|
EXPORT_DIR="$(readlink -f build)"
|
||||||
# cd $PROJECT_PATH
|
cd $PROJECT_PATH
|
||||||
# godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
|
godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
|
||||||
# - name: Upload Artifact
|
- name: Upload Artifact
|
||||||
# uses: https://gitea.com/actions/upload-artifact@v3 # using v3 ad v4 has issues wwith gitea
|
uses: https://gitea.com/actions/upload-artifact@v3 # using v3 ad v4 has issues wwith gitea
|
||||||
# with:
|
with:
|
||||||
# name: linux
|
name: linux
|
||||||
# path: build/linux
|
path: build/linux
|
||||||
|
|
||||||
steam-publish:
|
steam-publish:
|
||||||
name: Steam Publish
|
name: Steam Publish
|
||||||
@ -110,8 +110,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd $PROJECT_PATH
|
cd $PROJECT_PATH
|
||||||
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-8)
|
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-8)
|
||||||
echo "Short SHA: $SHORT_SHA"
|
|
||||||
echo "GITHUB_REF_NAME: $GITHUB_REF_NAME"
|
|
||||||
sed -i -e "s/STEAM_DESCRIPTION/${GITHUB_REF_NAME} - ${SHORT_SHA}/" build/build_dependencies/steam/app_build_2739610.vdf
|
sed -i -e "s/STEAM_DESCRIPTION/${GITHUB_REF_NAME} - ${SHORT_SHA}/" build/build_dependencies/steam/app_build_2739610.vdf
|
||||||
|
|
||||||
- name: Publish to Steam # We don't need to download the artifcts, as they are alread in the container and targeted by the VDF
|
- name: Publish to Steam # We don't need to download the artifcts, as they are alread in the container and targeted by the VDF
|
||||||
|
|||||||
Reference in New Issue
Block a user