fix: issue with invalid builds for prod and tagging

This commit is contained in:
Eli Bosley
2025-04-03 11:59:23 -04:00
parent 38a9e36fcd
commit 7e89cd2a3e
2 changed files with 4 additions and 4 deletions

View File

@@ -133,7 +133,7 @@ jobs:
- name: Upload to GHA
uses: actions/upload-artifact@v4
with:
name: unraid-plugin-${{ github.run_id }}
name: unraid-plugin-${{ github.run_id }}-${{ inputs.RELEASE_TAG }}
path: plugin/deploy/
- name: Upload Release Assets

View File

@@ -294,7 +294,7 @@ jobs:
- test-api
uses: ./.github/workflows/build-plugin.yml
with:
RELEASE_CREATED: ${{ needs.release-please.outputs.releases_created }}
RELEASE_CREATED: false
TAG: ${{ github.event.pull_request.number }}
BUCKET_PATH: ${{ github.event.pull_request.number && format('unraid-api/tag/PR{0}', github.event.pull_request.number) || 'unraid-api' }}
BASE_URL: "https://preview.dl.unraid.net/unraid-api"
@@ -315,9 +315,9 @@ jobs:
- test-api
uses: ./.github/workflows/build-plugin.yml
with:
RELEASE_CREATED: ${{ needs.release-please.outputs.releases_created }}
RELEASE_CREATED: true
RELEASE_TAG: ${{ needs.release-please.outputs.tag_name }}
TAG:
TAG: ""
BUCKET_PATH: unraid-api
BASE_URL: "https://stable.dl.unraid.net/unraid-api"
secrets: