Skip to content

Commit

Permalink
Try softprops/action-gh-release@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
ImoutoChan committed Sep 30, 2023
1 parent 693464f commit f1ffcde
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
push:
tags:
- '*'

permissions:
contents: write

jobs:
windows-latest:
Expand Down Expand Up @@ -55,17 +58,17 @@ jobs:
- name: Pack 7ZSfx installer
run: .\Tools\NukeBuild\build.cmd Test Pack7ZSfx

- name: Create github release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: ${{ steps.gitversion.outputs.majorMinorPatch }}
tag_name: ${{ github.ref }}
body: ImoutoRebirth.exe is self extracting 7z archive. Read installation instructions in README.md
env:
GITHUB_TOKEN: ${{ secrets.RELEASES_TOKEN }}
# - name: Create github release
# uses: actions/create-release@v1
# id: create_release
# with:
# draft: false
# prerelease: false
# release_name: ${{ steps.gitversion.outputs.majorMinorPatch }}
# tag_name: ${{ github.ref }}
# body: ImoutoRebirth.exe is self extracting 7z archive. Read installation instructions in README.md
# env:
# GITHUB_TOKEN: ${{ secrets.RELEASES_TOKEN }}

# - name: Upload 7ZSfx installer to github release
# uses: actions/upload-release-asset@v1
Expand All @@ -76,8 +79,9 @@ jobs:
# asset_path: ./Artifacts/ImoutoRebirth-*.*
# asset_content_type: application/octet-stream

- name: RUpload 7ZSfx installer to github release
- name: Upload 7ZSfx installer to github release
uses: softprops/action-gh-release@v1
with:
files: ./Artifacts/ImoutoRebirth-*.*
token: ${{ secrets.RELEASES_TOKEN }}
body: ImoutoRebirth-<version>.exe is self extracting 7z archive. You can use it or download 7z archive itself. Read installation instructions in README.md
name: ImoutoRebirth ${{ steps.gitversion.outputs.majorMinorPatch }}

0 comments on commit f1ffcde

Please sign in to comment.