diff --git a/.github/workflows/channel.yml b/.github/workflows/channel.yml index 717b468..261e90a 100644 --- a/.github/workflows/channel.yml +++ b/.github/workflows/channel.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f0f527..2206e50 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.guix/ci-channels.scm b/.guix/ci-channels.scm new file mode 100644 index 0000000..91d4e23 --- /dev/null +++ b/.guix/ci-channels.scm @@ -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)