diff --git a/.github/workflows/build-gdc.yml b/.github/workflows/build-gdc.yml index 7a17e1f0..8e5c1fc3 100644 --- a/.github/workflows/build-gdc.yml +++ b/.github/workflows/build-gdc.yml @@ -9,6 +9,7 @@ on: env: GODOT_VERSION: 4.2.2 EXPORT_NAME: RetroDECK-Configurator + #match tag in project settings of Godot TAG: v0.5 jobs: @@ -35,6 +36,7 @@ jobs: run: godot --headless -v --import - name: Linux Build 🔧 continue-on-error: true + # --export-release has to match the export template in Godot project run: | godot --headless -v --export-release "Linux/X11 64-bit" ~/$EXPORT_NAME.pck - name: Give execute permission ☑️ @@ -44,6 +46,7 @@ jobs: run: | tar zcvf ~/${EXPORT_NAME}.tar.gz ~/$EXPORT_NAME.pck + # Create artifacts in action. Optional item - name: Upload Linux x86_64 Artifact 🚀 uses: actions/upload-artifact@v4 with: @@ -52,13 +55,12 @@ jobs: retention-days: 14 # Upload release linked to tag - # had to explicity call folder refernece + # had to explicitly call folder reference - name: Upload Release Asset 🚀 uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ~/${{env.EXPORT_NAME}}-tar.gz - #/github/home/RetroDECK-tar.gz + file: /github/home/RetroDECK-tar.gz-tar.gz tag: ${{env.TAG}} overwrite: true file_glob: true \ No newline at end of file