diff --git a/.github/workflows/build_stage.yml b/.github/workflows/build_stage.yml index 4ec41f4..dd755e1 100644 --- a/.github/workflows/build_stage.yml +++ b/.github/workflows/build_stage.yml @@ -20,15 +20,21 @@ jobs: run: | mkdir -p client/templates wget http://godot-enet.cloudsumu.com.s3-website-us-east-1.amazonaws.com/export-templates/debug/$PLATFORM -O client/templates/$PLATFORM + - name: Configure + env: + PLATFORM: ${{ matrix.platform }} + run: | + if [ "$PLATFORM" = "win32" ] || [ "$PLATFORM" = "win64" ] ; then + echo "::set-env name=EXPORT_SUFFIX::.exe" + fi - name: Build id: build uses: josephbmanley/build-godot-action@v1.4.0 with: - name: defend-together + name: defend-together${{ env.EXPORT_SUFFIX }} preset: ${{ matrix.platform }} projectDir: client debugMode: 'true' - package: 'true' - name: Upload Artifact uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f9c8a9b..a0d3b8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,15 +20,20 @@ jobs: run: | mkdir -p client/templates wget http://godot-enet.cloudsumu.com.s3-website-us-east-1.amazonaws.com/export-templates/release/$PLATFORM -O client/templates/$PLATFORM + - name: Configure + env: + PLATFORM: ${{ matrix.platform }} + run: | + if [ "$PLATFORM" = "win32" ] || [ "$PLATFORM" = "win64" ] ; then + echo "::set-env name=EXPORT_SUFFIX::.exe" + fi - name: Build id: build uses: josephbmanley/build-godot-action@v1.4.0 with: - name: defend-together + name: defend-together${{ env.EXPORT_SUFFIX }} preset: ${{ matrix.platform }} projectDir: client - debugMode: 'true' - package: 'true' - id: get_tag name: Get Tag env: