Skip to content

Commit

Permalink
Update godot.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Makosai committed Oct 5, 2023
1 parent e78fefb commit cee7a2f
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/godot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,14 @@ jobs:
id: build
uses: manleydev/build-godot-action@v1.5.0
with:
name: "Reia_${{ steps.replace_string.outputs.replaced }}"
name: "Reia_${{ steps.replace_string.outputs.replaced }}.exe"
preset: ${{ matrix.platform }}
debugMode: "false"
package: true
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release And Upload Asset
uses: softprops/action-gh-release@v1
if: ${{startsWith(github.ref, 'refs/tags/') }}
with:
tag_name: ${{ github.ref_name }}
release_name: ${{ github.ref_name }}
files: build/Reia_${{ steps.replace_string.outputs.replaced }}.exe
body: |
# Reia - `${{ github.ref_name }}`
Expand All @@ -62,13 +58,3 @@ jobs:
...
draft: true
prerelease: true
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ${{ github.workspace }}/${{ steps.build.outputs.build }}
asset_name: Reia_${{ steps.replace_string.outputs.replaced }}.zip
asset_content_type: application/zip

0 comments on commit cee7a2f

Please sign in to comment.