diff options
author | Astatin <[email protected]> | 2024-12-16 13:47:46 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2024-12-16 13:47:46 +0900 |
commit | 8f741001d75dc380a36648d9e1aa85174a3aff88 (patch) | |
tree | b44421f562cf5c77ed7f3c14c76701d46ee20f8c | |
parent | e2e58d97463b08a908b7bed2d53b652e24b6afa9 (diff) |
Update go.yml
-rw-r--r-- | .github/workflows/go.yml | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bbcf636..2d23246 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,24 +24,14 @@ jobs: - name: Build run: go build -v . - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: false - prerelease: false - - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Rename build to clarify OS & architecture + run: mv gameboy-asm gbasm_linux-x86_64 + + - uses: "marvinpinto/action-automatic-releases@latest" 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: gameboy-asm - asset_name: gameboy-asm_linux-x86_64 - asset_content_type: application/x-elf + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: true + title: "Development Build" + files: | + gbasm_linux-x86_64 |