Bump actions/setup-java from 3 to 4 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Pull Request | |
on: pull_request | |
jobs: | |
build: | |
if: github.actor != 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: Setup wine | |
id: wine_install | |
run: | | |
sudo apt install wine64 | |
echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT | |
- name: Save Android Debug Keystore | |
uses: akiojin/[email protected] | |
with: | |
base64: ${{ secrets.ANDROID_DEBUG_KEYSTORE }} | |
output-path: debug.keystore | |
- name: Setup Android Debug Keystore | |
run: | | |
echo "GODOT_ANDROID_KEYSTORE_DEBUG_PATH=debug.keystore" >> $GITHUB_ENV | |
echo "GODOT_ANDROID_KEYSTORE_DEBUG_USER=${{ secrets.ANDROID_DEBUG_KEYSTORE_USER }}" >> $GITHUB_ENV | |
echo "GODOT_ANDROID_KEYSTORE_DEBUG_PASSWORD=${{ secrets.ANDROID_DEBUG_KEYSTORE_PASSWORD }}" >> $GITHUB_ENV | |
- name: Export Game | |
id: export | |
uses: firebelley/[email protected] | |
with: | |
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_linux.x86_64.zip | |
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_export_templates.tpz | |
relative_project_path: ./ | |
archive_output: true | |
export_debug: true | |
cache: true | |
wine_path: ${{ steps.wine_install.outputs.WINE_PATH }} | |
- name: Upload Linux Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: linux | |
path: ${{ steps.export.outputs.archive_directory }}/LinuxX11.zip | |
- name: Upload Web Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: web | |
path: ${{ steps.export.outputs.archive_directory }}/Web.zip | |
- name: Upload Windows Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows | |
path: ${{ steps.export.outputs.archive_directory }}/Windows Desktop.zip | |
- name: Upload Android Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: android | |
path: ${{ steps.export.outputs.archive_directory }}/Android.zip |