Merge pull request #474 from yamacir-kit/release-candidate #64
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
name: Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
Ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV | |
- run: ./script/setup.sh | |
- run: cmake -B build -DCMAKE_BUILD_TYPE=Release | |
- run: cmake --build build --target package | |
- run: gh release create v${{ env.VERSION }} build/meevax_${{ env.VERSION }}_amd64.deb --title "Version ${{ env.VERSION }}" | |
env: | |
GH_TOKEN: ${{ github.token }} |