Files
easter-eggs/.gitea/workflows/publish.yaml
Gustavo "Guz" L de Mello aa2c2aad17
Some checks failed
Publish / Build and Release (push) Has been cancelled
feat: inital commit release
2026-04-10 11:36:34 -03:00

34 lines
772 B
YAML

name: Publish
on:
push:
jobs:
publish:
env:
RUNNER_TOOL_CACHE: /toolcache
name: Build and Release
runs-on: nix-latest
steps:
- name: Checkout
uses: https://gitea.com/actions/checkout@v4
- name: Cache
uses: https://github.com/DeterminateSystems/magic-nix-cache-action@main
- name: Check Flake
uses: https://github.com/DeterminateSystems/flake-checker-action@main
- name: Build
run: nix build .#default
- name: Rename
run: mv ./result ./SixSides\ Easter\ Eggs\ \($(cat VERSION)\).zip
- name: Publish
uses: https://gitea.com/actions/gitea-release-action@v1
with:
name: Latest
tag_name: latest
files: |-
*.zip