Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
imayushsaini committed Feb 3, 2024
1 parent 5df455d commit 87affd2
Show file tree
Hide file tree
Showing 52 changed files with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/release.yml
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 added CHANGELOG.md
Empty file.
Empty file added Readme.md
Empty file.
Empty file added linux-aarch64/binary
Empty file.
Empty file added linux-x86_64/binary
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.

0 comments on commit 87affd2

Please sign in to comment.