forked from mmozeiko/TwitchNotify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor action and add badge * rearrange conditions * splitting workflows
- Loading branch information
Showing
3 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: 'Release' | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*.*.*' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Build Application | ||
run: "./build.cmd" | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: application | ||
if-no-files-found: error | ||
path: | | ||
TwitchNotify.exe | ||
TwitchNotify.ini | ||
release: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: application | ||
|
||
- uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "TwitchNotify.exe,TwitchNotify.ini" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
body: "You need to Download both files in the same Folder. The configuration for the ini file is described in the [Readme.md](Readme.md)" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters