Enable export suffixes
This commit is contained in:
		
							
								
								
									
										10
									
								
								.github/workflows/build_stage.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/build_stage.yml
									
									
									
									
										vendored
									
									
								
							@ -20,15 +20,21 @@ jobs:
 | 
				
			|||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          mkdir -p client/templates
 | 
					          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
 | 
					          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
 | 
					      - name: Build
 | 
				
			||||||
        id: build
 | 
					        id: build
 | 
				
			||||||
        uses: josephbmanley/build-godot-action@v1.4.0
 | 
					        uses: josephbmanley/build-godot-action@v1.4.0
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: defend-together
 | 
					          name: defend-together${{ env.EXPORT_SUFFIX }}
 | 
				
			||||||
          preset: ${{ matrix.platform }}
 | 
					          preset: ${{ matrix.platform }}
 | 
				
			||||||
          projectDir: client
 | 
					          projectDir: client
 | 
				
			||||||
          debugMode: 'true'
 | 
					          debugMode: 'true'
 | 
				
			||||||
          package: 'true'
 | 
					 | 
				
			||||||
      - name: Upload Artifact
 | 
					      - name: Upload Artifact
 | 
				
			||||||
        uses: actions/upload-artifact@v2
 | 
					        uses: actions/upload-artifact@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										11
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@ -20,15 +20,20 @@ jobs:
 | 
				
			|||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          mkdir -p client/templates
 | 
					          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
 | 
					          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
 | 
					      - name: Build
 | 
				
			||||||
        id: build
 | 
					        id: build
 | 
				
			||||||
        uses: josephbmanley/build-godot-action@v1.4.0
 | 
					        uses: josephbmanley/build-godot-action@v1.4.0
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: defend-together
 | 
					          name: defend-together${{ env.EXPORT_SUFFIX }}
 | 
				
			||||||
          preset: ${{ matrix.platform }}
 | 
					          preset: ${{ matrix.platform }}
 | 
				
			||||||
          projectDir: client
 | 
					          projectDir: client
 | 
				
			||||||
          debugMode: 'true'
 | 
					 | 
				
			||||||
          package: 'true'
 | 
					 | 
				
			||||||
      - id: get_tag
 | 
					      - id: get_tag
 | 
				
			||||||
        name: Get Tag
 | 
					        name: Get Tag
 | 
				
			||||||
        env:
 | 
					        env:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user