Bump nokogiri from 1.10.4 to 1.18.3 in /renderer #20
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 Cards | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cachix/install-nix-action@v12 | |
with: | |
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/fb6c3a6831ca5c5a9d923fed1db3c2006a118681.tar.gz | |
- name: Build cards | |
run: | | |
OUTS=$(nix-build default.nix -A rendered.cards.all --no-out-link) | |
mkdir cards-tmp | |
for O in $OUTS; do cp $O/singles/*.png cards-tmp/; done | |
zip -r cards.zip cards-tmp/ | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: cards | |
path: cards.zip | |
- name: Build decks | |
run: | | |
OUTS=$(nix-build default.nix -A rendered.decks.all --no-out-link) | |
mkdir decks-tmp | |
for O in $OUTS; do cp $O/sheets/*.png decks-tmp/; done | |
zip -r decks.zip decks-tmp/ | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: decks | |
path: decks.zip | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
cards.zip | |
decks.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |