-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32e620c
commit b0c6d05
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,26 @@ | ||
name: Deploy | ||
name: CD | ||
|
||
on: | ||
push: | ||
tags: | ||
- "[0-9]+.[0-9]+.[0-9]+" | ||
workflow_dispatch: | ||
workflow_run: # when CI passes (check && test && clippy), deploy | ||
workflows: ["CI"] | ||
types: | ||
- completed | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
check_tags: | ||
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | ||
uses: reecetech/[email protected] | ||
id: version | ||
with: | ||
scheme: semver | ||
increment: patch | ||
build: | ||
name: Build platform libs | ||
runs-on: ubuntu-latest | ||
|
@@ -144,7 +155,7 @@ jobs: | |
cp sqore.gdextension addons/sqore/sqore.gdextension | ||
cp -r scenes addons/sqore/scenes/ | ||
cp -r assets addons/sqore/assets/ | ||
cp -r docs addons/sqore/docs/ | ||
cp -r doc addons/sqore/doc/ | ||
zip -r -q sqore_release addons | ||
ls -1 | ||
|
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