Update to new way of setting output in GitHub CI #128
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: Integrity check | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pipenv | |
pipenv install | |
- name: Validate regular & extended decks | |
run: | | |
pipenv run build | |
- name: Validate experimental deck | |
run: | | |
pipenv run build_experimental | |
- name: Zip decks | |
run: | | |
./zip_decks.sh | |
id: zip-decks | |
- name: Publish | |
uses: johnwbyrd/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: ${{ steps.zip-decks.outputs.DECK_PATHS }} | |
release: everfresh | |
# TODO: Validate the csv file structure |