feat: refactor denote flow #30
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
name: build | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Guix cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/guix | |
# use a key that (almost) never matches | |
key: guix-cache-${{ github.sha }} | |
restore-keys: | | |
guix-cache- | |
# Cannot use a cache for /gnu/store, since restore fails | |
- name: Install Guix | |
uses: PromyLOPh/guix-install-action@v1 | |
- name: Ensure no locale warning | |
run: test -z "$(guix --version 2>&1 >/dev/null)" | |
- name: build emacs-x | |
run: bash build.sh | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: emacs-x-*-installer.* |