Merge pull request #1 from BhJaipal/main #15
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
on: | |
push: | |
branches: ["release"] | |
env: | |
BUILD_TYPE: Release | |
tag: "0.1.2" | |
name: libaloo releases | |
jobs: | |
release: | |
name: libaloo releases | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
contents: write | |
actions: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.repository }} | |
ref: ${{ github.ref }} | |
- name: Installing Dependencies | |
run: | | |
sudo apt install libgtk-4-dev libsqlite3-dev | |
- name: Building deb package | |
run: | | |
cd ${{ github.workspace }} | |
./release.sh ${{ env.tag }} | |
tree | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: v${{ env.tag }} | |
release_name: Release v${{ env.tag }} | |
body: | | |
Added Create App to python TUI | |
draft: false | |
prerelease: false | |
- name: Lib aloo deb file | |
id: upload-release-asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: ./libaloo-v${{ env.tag }}-$(arch).deb | |
asset_name: libaloo-v${{ env.tag }}-$(arch).deb | |
asset_content_type: application/vnd.debian.binary-package |