cleanup: remove uneeded variables from series provider #186
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
name: Unstable Release | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build & Release (Unstable) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
fetch-depth: 0 | |
- name: Get previous release version | |
id: previoustag | |
uses: "WyriHaximus/github-action-get-previous-tag@v1" | |
with: | |
fallback: 1.0.0 | |
- name: Setup .Net | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore Nuget Packages | |
run: dotnet restore Shokofin/Shokofin.csproj | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install JPRM | |
run: python -m pip install jprm | |
- name: Run JPRM | |
run: echo "NEW_VERSION=$(python build_plugin.py --version=${{ steps.previoustag.outputs.tag }} --prerelease=True)" >> $GITHUB_ENV | |
- name: Create Pre-Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: ./artifacts/shoko_*.zip | |
tag_name: ${{ env.NEW_VERSION }} | |
prerelease: true | |
fail_on_unmatched_files: true | |
generate_release_notes: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update Unstable Manifest | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
branch: master | |
commit_message: "misc: update unstable manifest" | |
file_pattern: manifest-unstable.json | |
skip_fetch: true |