Skip to content

Commit

Permalink
CI: Add ci-channels.scm
Browse files Browse the repository at this point in the history
  • Loading branch information
gleidi-suse committed Nov 15, 2023
1 parent 97ab8b5 commit 31f9eda
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,4 @@ jobs:
uses: PromyLOPh/guix-install-action@v1

- name: Pull channel
run: |
cat '(cons* (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-channels)' > channels.scm
guix pull --channels=channels.scm
run: guix pull --channels=.guix/ci-channels.scm
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ jobs:
- name: Install GNU Guix
uses: PromyLOPh/guix-install-action@v1

- name: Pull channel
run: guix pull --channels=.guix/ci-channels.scm

- name: Build binary tarball
run: guix pack -L .guix/modules --save-provenance -r pot.tar.gz -RR -S /bin=bin pot
run: guix pack -L .guix/modules --save-provenance -r pot.tar.gz -RR -S /bin=bin pot.git

- name: Release
uses: softprops/action-gh-release@v1
Expand Down
21 changes: 21 additions & 0 deletions .guix/ci-channels.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
(append
(list (channel
(name 'small-guix)
(url "https://gitlab.com/orang3/small-guix")
;; Enable signature verification:
(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")
;; Enable signature verification:
(introduction
(make-channel-introduction
"10ed759852825149eb4b08c9b75777111a92048e"
(openpgp-fingerprint
"97A2 CB8F B066 F894 9928 CF80 DE9B E0AC E824 6F08")))))
%default-guix-channels)

0 comments on commit 31f9eda

Please sign in to comment.