builds godot
Diffstat (limited to '.github/actions/release/action.yml')
-rw-r--r--.github/actions/release/action.yml29
1 files changed, 17 insertions, 12 deletions
diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml
index 5c39478..1c42329 100644
--- a/.github/actions/release/action.yml
+++ b/.github/actions/release/action.yml
@@ -13,32 +13,32 @@ inputs:
runs:
using: "composite"
steps:
- - uses: actions/checkout@v3
-
- name: Get version
- uses: bend-n/godot-builds/.github/actions/get-version@main
+ uses: bend-n/godot-builds/.github/actions/[email protected]
- name: Get templates
uses: actions/download-artifact@v3
with:
name: templates
- - name: Get headless
+ - name: Get editor
uses: actions/download-artifact@v3
with:
- name: server-tools-release
+ name: linuxbsd-editor-release
- - name: Get editor
+ - name: Get headless
uses: actions/download-artifact@v3
with:
- name: x11-tools-release
+ name: server-editor-release
- 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
+ mv godot.x11.opt.tools.64 ${{ env.fstart }}_linux.x86_64
+ mv godot_server.x11.opt.tools.64 ${{ env.fstart }}_linux_headless.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 +46,11 @@ 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
+ ${{ env.fstart }}_linux_headless.64
token: ${{ inputs.github-token }}
+ prerelease: ${{ env.prerelease }}
+ fail_on_unmatched_files: true
+ env:
+ fstart: ${{ inputs.name }}_v${{ env.version-name }}