-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5df455d
commit 87affd2
Showing
52 changed files
with
45 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Release Workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Bump Version | ||
id: bump_version | ||
uses: anothrNick/[email protected] | ||
with: | ||
default_bump: minor | ||
|
||
- name: Zip Files for Windows | ||
run: | | ||
zip -r release_windows.zip ba_data lib windows | ||
working-directory: ${{ github.workspace }} | ||
|
||
- name: Zip Files for Linux | ||
run: | | ||
zip -r release_linux.zip ba_data lib linux-x86_64 | ||
working-directory: ${{ github.workspace }} | ||
|
||
- name: Create Release | ||
id: create_release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: | | ||
release_windows.zip | ||
release_linux.zip | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag_name: ${{ steps.bump_version.outputs.tag }} | ||
|
||
- name: Update Release Notes | ||
run: echo "::set-output name=body::$(cat CHANGELOG.md)" | ||
id: get_changelog | ||
if: success() && steps.create_release.outputs.release_id |
Empty file.
Empty file.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.