Skip to content

Commit

Permalink
try different release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawid Ciepiela committed Nov 15, 2023
1 parent 97ee90f commit 4dbb0eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ permissions:
contents: write

jobs:
build:
build_and_release:
strategy:
fail-fast: false
matrix:
python: [3.11]
os: [windows-latest]
runs-on: ${{ matrix.os }}
name: Build kanjireader
name: Build and release kanjireader
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -34,18 +34,10 @@ jobs:
path: "scripts/setup.iss"
options: /DVersion="${{ github.ref_name }}"

release:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
name: Release kanjireader
needs: build
steps:
- name: Create release and upload
uses: meeDamian/github-release@2.0
uses: softprops/action-gh-release@v1
with:
allow_override: true
token: ${{ secrets.GITHUB_TOKEN }}
files: "kanjireader_${{ github.ref_name }}_setup_.exe:dist/kr_setup.exe"
generate_release_notes: true
prerelease: false
draft: false
files: "dist/kanjireader_${{ github.ref_name }}_setup.exe"
2 changes: 1 addition & 1 deletion scripts/setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ AllowNoIcons=yes
PrivilegesRequired=lowest
PrivilegesRequiredOverridesAllowed=dialog
OutputDir={#SourcePath}\..\dist
OutputBaseFilename=kr_setup
OutputBaseFilename=kanjireader_{#MyAppVersion}_setup
SetupIconFile={#SourcePath}\..\src\data\img\ico\app.ico
UninstallDisplayIcon={app}\data\img\ico\app.ico
Compression=lzma
Expand Down

0 comments on commit 4dbb0eb

Please sign in to comment.