Allow for manual build triggering. #4
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
permissions: write-all | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Deps | |
run: | | |
sudo apt-get -y install libfuse2 | |
curl -o apprepo https://github.com/area-of-dev/apprepo.AppImage/releases/download/latest/apprepo.AppImage | |
chmod +x apprepo | |
- name: Build | |
run: | | |
PATH=$PATH:$PWD make all | |
- name: Release | |
uses: djnicholson/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
asset-name: ${{ github.event.repository.name }} | |
file: ${{ github.event.repository.name }} |