From f9fe89bb31a54f0dd0b923bc6ebabcb7e45f5843 Mon Sep 17 00:00:00 2001 From: Chloe Bethel Date: Sun, 4 Feb 2024 16:46:57 +0000 Subject: [PATCH] add --- .github/workflows/package.yml | 24 ++++++++++++++++++++---- .github/workflows/runner.yml | 2 +- scripts/package.sh | 2 +- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index ae67bb134279..c1f76150d52e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -6,17 +6,33 @@ jobs: package: runs-on: "ubuntu-22.04" steps: + - name: Ensure python + run: | + sudo apt-get update + sudo apt-get -y install python3-pip + - uses: actions/checkout@v3 + + - uses: actions/download-artifact@v3 + with: + name: windows-editor + path: windows-editor + - uses: actions/download-artifact@v3 + with: + name: macos-editor + path: macos-editor + - uses: actions/download-artifact@v3 + with: + name: linux-editor + path: linux-editor - uses: actions/download-artifact@v3 with: name: switch-template path: switch-template - - uses: actions/download-artifact@v3 with: name: vita-template - path: switch-template + path: vita-template - name: Package - run: | - ls -R switch-template vita-template + run: scripts/package.sh \ No newline at end of file diff --git a/.github/workflows/runner.yml b/.github/workflows/runner.yml index 513bfeedd29f..363b24844948 100644 --- a/.github/workflows/runner.yml +++ b/.github/workflows/runner.yml @@ -57,5 +57,5 @@ jobs: package: name: Package - needs: [switch-build, vita-build] + needs: [windows-build, macos-build, linux-build, switch-build, vita-build] uses: ./.github/workflows/package.yml diff --git a/scripts/package.sh b/scripts/package.sh index 12378218a9c2..f22596442e38 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -68,4 +68,4 @@ mv godot.switch.opt.64 "godot-switch-v${version_number}-DEBUG_ONLY.elf" rm -r godot-switch-v${version_number}-windows godot-switch-v${version_number}-linux rm -r switch templates config switch_release.nro actions_api_response* workflows rm windows-editor.zip macos-editor.zip linux-editor.zip switch-template.zip -popd \ No newline at end of file +popd