Skip to content

Commit

Permalink
enabling uploading exe to release
Browse files Browse the repository at this point in the history
  • Loading branch information
beniroquai authored Sep 24, 2022
1 parent 1f2ce27 commit a826b17
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/imswitch-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ on:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10


jobs:



build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]

steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -44,3 +48,27 @@ jobs:
with:
name: imswitch-${{ matrix.os }}
path: dist

- name: release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: ${{steps.version.outputs.version}}
tag_name: ${{github.ref}}
body_path: CHANGELOG.md
env:
GITHUB_TOKEN: ${{github.token}}

- name: upload windows-exe-update artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: .dist/ImSwitch/ImSwitch.exe
asset_name: ImSwitch.exe
asset_content_type: application/exe


0 comments on commit a826b17

Please sign in to comment.