mirror of
https://github.com/unraid/api.git
synced 2025-12-31 05:29:48 -06:00
fix: issue with invalid builds for prod and tagging
This commit is contained in:
2
.github/workflows/build-plugin.yml
vendored
2
.github/workflows/build-plugin.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user