Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

build(deps): bump easimon/maximize-build-space from 8 to 9 #290

build(deps): bump easimon/maximize-build-space from 8 to 9

build(deps): bump easimon/maximize-build-space from 8 to 9 #290

Workflow file for this run

---
name: CI
on:
pull_request:
branches: [master, nightly]
types: [opened, synchronize, reopened]
push:
branches: [master]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_changelog:
name: Check Changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Verify Changelog
id: verify_changelog
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
# base_ref for pull request check, ref for push
uses: LizardByte/.github/actions/verify_changelog@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
outputs:
next_version: ${{ steps.verify_changelog.outputs.changelog_parser_version }}
next_version_bare: ${{ steps.verify_changelog.outputs.changelog_parser_version_bare }}
last_version: ${{ steps.verify_changelog.outputs.latest_release_tag_name }}
release_body: ${{ steps.verify_changelog.outputs.changelog_parser_description }}
build:
runs-on: ubuntu-latest
needs: [check_changelog]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: "6.0.x"
- name: Build Plugin
id: jprm
uses: oddstr13/jellyfin-plugin-repository-manager@v1.0.11
with:
path: .
output: ./build
version: ${{ needs.check_changelog.outputs.next_version_bare }}
dotnet-config: Release
dotnet-target: net6.0
verbosity: debug
- name: Unit Test
id: test
run: |
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
- name: Upload coverage
# any except cancelled or skipped
if: always() && (steps.test.outcome == 'success' || steps.test.outcome == 'failure')
uses: codecov/codecov-action@v3
- name: Rename artifacts
run: |
mkdir -p artifacts
mv ./build/*.zip ./artifacts/themerr-jellyfin.zip
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: themerr-jellyfin
if-no-files-found: error
path: artifacts/
- name: Create Release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: LizardByte/.github/actions/create_release@master
with:
token: ${{ secrets.GH_BOT_TOKEN }}
next_version: ${{ needs.check_changelog.outputs.next_version }}
last_version: ${{ needs.check_changelog.outputs.last_version }}
release_body: ${{ needs.check_changelog.outputs.release_body }}