Merge pull request #34 from abdnh/2310 #41
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: Zip Anki add-ons | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Install and Build 🔧 | |
run: | | |
bin/zip.sh | |
bin/zip.sh -a | |
- name: Upload personal addon to GitHub | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Anki add-on for personal use | |
path: build/straight_reward.ankiaddon | |
- name: Upload Ankiweb addon to GitHub | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Anki add-on for Ankiweb | |
path: build/957961234.ankiaddon |