Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
QueenOfSquiggles authored Apr 7, 2024
1 parent 2c2745a commit 3638426
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,12 @@ jobs:

- name: start package
run: |
echo "Hello there!"
mkdir target
mkdir target/debug
mkdir target/release
mkdir addons
mkdir addons/sqore
mkdir addons/sqore/target
mkdir addons/sqore/target/debug
mkdir addons/sqore/target/release
mkdir libs
mkdir libs/debug
mkdir libs/release
Expand All @@ -114,7 +116,7 @@ jobs:
with:
use-cross: false
command: doc
args: --verbose --no-deps --target-dir .
args: --verbose --no-deps --target-dir addons/sqore/

- name: download debug files
uses: actions/[email protected]
Expand All @@ -130,13 +132,19 @@ jobs:
path: "libs/release/"
# A glob pattern matching the artifacts that should be downloaded. Ignored if name is specified.
pattern: "*sqore*--release"
- name: move libs
- name: move files
run: |
cp libs/debug/**/*sqore* target/debug/
cp libs/release/**/*sqore* target/release/
# - name: Release
# uses: softprops/action-gh-release@v1
# with:
# files: |
# ./squiggles_core_release.zip
cp README.md addons/sqore/README.md
cp LICENSE addons/sqore/LICENSE
cp sqore.gdextension addons/sqore/sqore.gdextension
cp -r scenes addons/sqore/scenes/
cp -r assets addons/sqore/assets/
zip -r -q sqore_release addons
- name: Make Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: sqore_release.zip

0 comments on commit 3638426

Please sign in to comment.