test runner v2
All checks were successful
/ Export Game (push) Successful in 2m27s

This commit is contained in:
Lucas 2024-07-28 15:02:40 +02:00
parent 721f2e8297
commit ce684dafbf

View file

@ -4,36 +4,37 @@ on:
- main - main
- release - release
jobs: jobs:
Godot: # job id, can be anything
export_game:
# Always use ubuntu-latest for this action
runs-on: linux_amd64 runs-on: linux_amd64
strategy: # Add permission for release creation. Can be made narrower according to your needs
matrix: permissions: write-all
platform: [linux, windows] # Job name, can be anything
name: Export Game
steps: steps:
- uses: actions/checkout@v3 # Always include the checkout step so that
# your project is available for Godot to export
- name: checkout
uses: actions/checkout@v3.3.0
- name: export game
id: export
# Use latest version (see releases for all versions)
uses: https://github.com/firebelley/godot-export@v5.2.1
with: with:
lfs: true # Defining all the required inputs
- name: Build godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_linux.x86_64.zip
id: build godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.2/Godot_v4.2-stable_export_templates.tpz
uses: ./.forgejo/actions/build-godot relative_project_path: ./
archive_output: true
# This release action has worked well for me. However, you can most likely use any release action of your choosing.
# https://github.com/ncipollo/release-action
- name: create release
uses: https://github.com/ncipollo/release-action@v1.12.0
with: with:
name: StickerClone token: ${{ secrets.GITHUB_TOKEN }}
preset: ${{ matrix.platform }} generateReleaseNotes: true
debugMode: "true" tag: ${{ github.ref_name }}
- name: Upload artifacts: ${{ steps.export.outputs.archive_directory }}/*
uses: actions/upload-artifact@v2
with:
name: Client - ${{ matrix.platform }}
path: ${{ github.workspace }}/${{ steps.build.outputs.build }}
# - name: Build
# id: build
# uses: https://github.com/yeslayla/build-godot-action@v1.5.0
# with:
# name: StickerClone
# preset: ${{ matrix.platform }}
# debugMode: "false"
# - name: Upload Artifact
# uses: actions/upload-artifact@v2
# with:
# name: Client - ${{ matrix.platform }}
# path: ${{ github.workspace }}/${{ steps.build.outputs.build }}