Skip to content

Release v0.0.4.

Release v0.0.4. #2

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
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-
- name: Install Guix
id: install-guix
uses: PromyLOPh/guix-install-action@v1
with:
channels: |-
(list
(channel
(name 'small-guix)
(url "https://gitlab.com/orang3/small-guix")
(introduction
(make-channel-introduction
"940e21366a8c986d1e10a851c7ce62223b6891ef"
(openpgp-fingerprint
"D088 4467 87F7 CBB2 AE08 BE6D D075 F59A 4805 49C3"))))
(channel
(name 'pot)
(url "https://github.com/fishinthecalculator/pot")
(branch "main")
(introduction
(make-channel-introduction
"10ed759852825149eb4b08c9b75777111a92048e"
(openpgp-fingerprint
"97A2 CB8F B066 F894 9928 CF80 DE9B E0AC E824 6F08"))))
%default-guix-channel)
- name: Build binary tarball
run: guix pack -L "${PWD}/.guix/modules" --save-provenance -r pot.tar.gz -RR -S /bin=bin pot.git
- name: Release
uses: softprops/action-gh-release@v1
with:
files: pot.tar.gz