diff --git a/.github/workflows/build-upload-publish-dev.yml b/.github/workflows/build-upload-publish-dev.yml index 900641cd..34592168 100644 --- a/.github/workflows/build-upload-publish-dev.yml +++ b/.github/workflows/build-upload-publish-dev.yml @@ -11,15 +11,11 @@ on: - '**/*.yaml' workflow_dispatch: -env: - DOTNET_VERSION: "8.0" - REPO_NAME: "jellyfin-dev" - jobs: test: uses: jellyfin/jellyfin-meta-plugins/.github/workflows/test.yaml@master with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: ${{ vars.DOTNET_8 }} build: uses: ./.github/workflows/build.yml @@ -29,7 +25,7 @@ jobs: needs: build uses: ./.github/workflows/upload-repo.yml with: - repo: ${{ env.REPO_NAME }} + repo: ${{ vars.REPO_DEV }} secrets: host: ${{ secrets.DEPLOY_HOST }} user: ${{ secrets.DEPLOY_USER }} @@ -40,7 +36,7 @@ jobs: needs: upload-repo uses: ./.github/workflows/publish.yml with: - repo: ${{ env.REPO_NAME }} + repo: ${{ vars.REPO_DEV }} secrets: host: ${{ secrets.DEPLOY_HOST }} user: ${{ secrets.DEPLOY_USER }} diff --git a/.github/workflows/build-upload-publish.yml b/.github/workflows/build-upload-publish.yml index d447ff49..4220e38b 100644 --- a/.github/workflows/build-upload-publish.yml +++ b/.github/workflows/build-upload-publish.yml @@ -7,15 +7,11 @@ on: - released workflow_dispatch: -env: - DOTNET_VERSION: "8.0" - REPO_NAME: "jellyfin" - jobs: test: uses: jellyfin/jellyfin-meta-plugins/.github/workflows/test.yaml@master with: - dotnet-version: ${{ env.DOTNET_VERSION }} + dotnet-version: ${{ vars.DOTNET_8 }} build: needs: test @@ -30,7 +26,7 @@ jobs: needs: build uses: ./.github/workflows/upload-repo.yml with: - repo: ${{ env.REPO_NAME }} + repo: ${{ vars.REPO_DEFAULT }} secrets: host: ${{ secrets.DEPLOY_HOST }} user: ${{ secrets.DEPLOY_USER }} @@ -41,7 +37,7 @@ jobs: needs: upload-repo uses: ./.github/workflows/publish.yml with: - repo: ${{ env.REPO_NAME }} + repo: ${{ vars.REPO_DEFAULT }} secrets: host: ${{ secrets.DEPLOY_HOST }} user: ${{ secrets.DEPLOY_USER }}