mirror of
https://github.com/yeslayla/build-godot-action.git
synced 2025-07-04 11:35:13 +02:00
Scripts changes & Test
This commit is contained in:
21
.github/workflows/test_action.yml
vendored
Normal file
21
.github/workflows/test_action.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Test Action
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
TestAction:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Extract branch name
|
||||
shell: bash
|
||||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
||||
id: extract_branch
|
||||
- name: Run Action
|
||||
uses: josephbmanley/build-godot-actions@${{ steps.extract_branch.outputs.branch }}
|
||||
with:
|
||||
name: test_project
|
||||
preset: linux
|
||||
projectDir: test_project
|
||||
package: 'true'
|
Reference in New Issue
Block a user