scanned-image-extractor/.github/workflows/AppImage.yaml

35 lines
712 B
YAML

# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: AppImage for Release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Nix
uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build AppImage
run: "nix build .#appImage"
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./result/*.AppImage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}