Skip to content

ci: temporarily always build #15

ci: temporarily always build

ci: temporarily always build #15

Workflow file for this run

name: "Build"
on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build .#macchiato
- run: mkdir -p dist
- run: cp -rL --no-preserve=ownership result/share/wallpapers/* dist/
- run: sudo chmod -R 666 dist/
- run: |
for dir in dist/*; do
zip -r "${dir%/}.zip" "$dir"
done
- name: upload action artifacts
uses: actions/upload-artifact@v4
with:
name: wallpapers
path: ./dist/*.zip
- name: upload to release
run: gh release upload --clobber wallpapers ./dist/*.zip
env:
GH_TOKEN: ${{ github.token }}