builds godot
Diffstat (limited to '.github/actions/release/action.yml')
| -rw-r--r-- | .github/actions/release/action.yml | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index 5c39478..c5e8fca 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -13,32 +13,31 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@v3 - - name: Get version uses: bend-n/godot-builds/.github/actions/get-version@main - name: Get templates - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: templates - - name: Get headless - uses: actions/download-artifact@v3 - with: - name: server-tools-release - - name: Get editor - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: x11-tools-release + name: linuxbsd-editor-release + + - name: List all downloaded files + run: ls -R + shell: bash - name: Compress run: | - mv godot.x11.opt.tools.64 Godot_v3.5-stable_x11.64 && xz -ze9T0 Godot_v3.5-stable_x11.64 & - mv godot_server.x11.opt.tools.64 "${{ inputs.name }}_v3.5-stable_linux_headless.64" && xz -ze9T0 "${{ inputs.name }}_v3.5-stable_linux_headless.64" & - mv templates.tpz Godot_v3.5-stable_export_templates.tpz + strip godot.x11.opt.tools.64 -v || true + mv godot.x11.opt.tools.64 ${{ env.fstart }}_linux.x86_64 + mv templates.tpz ${{ env.fstart }}_export_templates.tpz shell: bash + env: + fstart: ${{ inputs.name }}_v${{ env.version-name }} - name: Release uses: softprops/action-gh-release@v1 @@ -46,6 +45,9 @@ runs: body: "### ${{ env.release-name}} :rocket:" tag_name: ${{ env.release-name }} files: | - Godot_v3.5-stable_export_templates.tpz - Godot_v3.5-stable_x11.64 + ${{ env.fstart }}_export_templates.tpz + ${{ env.fstart }}_linux.x86_64 token: ${{ inputs.github-token }} + prerelease: ${{ env.prerelease }} + env: + fstart: ${{ inputs.name }}_v${{ env.version-name }} |