Skip to content

Update README.md

Update README.md #7

name: Create Release
on:
push:
branches:
- flo
jobs:
build-and-release-flo-deb:
runs-on: self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Build .deb File
run: |
make all-flo
mkdir -p release
mv ./build/*.deb ./release/
timeout-minutes: 130 # Adjust the timeout according to the estimated duration of "make all-flo"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: FLO # Use the commit SHA as the tag name
release_name: Release FLO # Use the commit SHA as the release name
body: |
Release commit: ${{ github.sha }}
Commit message: ${{ github.event.head_commit.message }}
draft: false
prerelease: false
- name: Upload .deb File
uses: actions/upload-artifact@v2
with:
name: deb-file
path: ./release/*.deb