Skip to content

Check size constraints about the album cover image #81

Check size constraints about the album cover image

Check size constraints about the album cover image #81

Workflow file for this run

name: "nix"
on:
pull_request:
push:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install nix
uses: cachix/install-nix-action@v31
- name: Install cachix
uses: cachix/cachix-action@v16
with:
name: jecaro
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build htagcli
run: nix build .#htagcli
- name: Build static version
if: startsWith(github.ref, 'refs/tags/')
run: nix build --out-link static .#htagcli-static
- name: Compress
if: startsWith(github.ref, 'refs/tags/')
run: tar -czf htagcli.tar.gz -C static/bin htagcli
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
files: htagcli.tar.gz