Bugfix for filter listing when items is null #34
Workflow file for this run
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
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v1 | |
- name: Set addon version | |
run: sed --in-place '/<addon/ s/version="[^"]*"/version="'$(git rev-parse --short "$GITHUB_SHA")'"/' addon.xml | |
- name: Create addon zip | |
run: | | |
mkdir -p /tmp/plugin.video.stash | |
rsync -a --exclude 'resources/stash_logo.svg' addon.xml addon.py resources /tmp/plugin.video.stash | |
cd /tmp/ | |
zip -r plugin.video.stash.zip plugin.video.stash/ | |
- name: Upload | |
uses: actions/upload-artifact@v2 | |
with: | |
name: plugin.video.stash.zip | |
path: /tmp/plugin.video.stash.zip |