Skip to content

Commit

Permalink
yaml?
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman committed Jan 18, 2022
1 parent 87ae688 commit 8786726
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/publish.yml
Expand Up @@ -14,17 +14,17 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build 🔧
- uses: workflow/nix-shell-action@v1
with:
packages: cabal-install, ghc, gnupg, unzip
script: |
mkdir $HOME/secrets
gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.KEYS_KEY }}" \
--output $HOME/secrets/keys.zip ${{ github.workspace }}/.github/keys.zip.gpg
unzip -qq $HOME/secrets/keys.zip
unzip -qq ${{ github.workspace }}/.github/pkg.zip
ls -lah .
PATH=.:$PATH hackage-overlay-repo-tool --patches patches --keys keys/ build
uses: workflow/nix-shell-action@v1
with:
packages: cabal-install, ghc, gnupg, unzip
script: |
mkdir $HOME/secrets
gpg --quiet --batch --yes --decrypt --passphrase="${{ secrets.KEYS_KEY }}" \
--output $HOME/secrets/keys.zip ${{ github.workspace }}/.github/keys.zip.gpg
unzip -qq $HOME/secrets/keys.zip
unzip -qq ${{ github.workspace }}/.github/pkg.zip
ls -lah .
PATH=.:$PATH hackage-overlay-repo-tool --patches patches --keys keys/ build
- name: List files in the repository
run: |
ls -lah build
Expand Down

0 comments on commit 8786726

Please sign in to comment.