name: "godot-ci export" on: push jobs: export_game: runs-on: ubuntu-latest name: Export Game Job steps: - name: checkout uses: https://github.com/actions/checkout@v3.3.0 - name: install packages id: wine_install run: | apt update -y && apt upgrade -y apt install -y wine64 nodejs p7zip-full ca-certificates tree echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT - name: export game id: export uses: https://github.com/firebelley/godot-export@v5.0.0 timeout-minutes: 30 with: godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_linux.x86_64.zip godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_export_templates.tpz relative_project_path: ./ use_preset_export_path: false relative_export_path: ./builds # move export output to this directory relative to git root archive_output: false verbose: false wine_path: ${{ steps.wine_install.outputs.WINE_PATH }} - name: print info run: | ls du -sh * echo "---" tree /root/.local/share/godot/ echo "---" tree builds - name: create release uses: https://github.com/ncipollo/release-action@v1 with: token: ${{ secrets.DEPLOY_TOKEN }} tag: ${{ github.ref_name }} Test name: Test artifacts: ${{ steps.export.outputs.archive_directory }}/* # Added "/*" at the end is glob pattern match for this action