Skip to content
Snippets Groups Projects
Unverified Commit edb8cfa0 authored by Ryan Laurie's avatar Ryan Laurie Committed by GitHub
Browse files

Prevent release artifacts colliding with test artifacts (#36663)

parent 51161808
No related branches found
No related tags found
No related merge requests found
......@@ -187,7 +187,7 @@ jobs:
- name: Upload JARs as artifact
uses: actions/upload-artifact@v3
with:
name: metabase-${{ matrix.edition }}-${{ inputs.commit }}-uberjar
name: metabase-release-${{ matrix.edition }}-${{ inputs.commit }}-uberjar
path: |
./metabase.jar
./COMMIT-ID
......
......@@ -35,7 +35,7 @@ jobs:
const artifacts = await github.rest.actions.listArtifactsForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
name: `metabase-${{ matrix.edition }}-${{ inputs.commit }}-uberjar`,
name: `metabase-release-${{ matrix.edition }}-${{ inputs.commit }}-uberjar`,
per_page: 1,
});
......
......@@ -36,7 +36,7 @@ jobs:
uses: actions/github-script@v6
id: canonical_version
with:
script: |
script: | # js
const { isValidVersionString, getCanonicalVersion, hasBeenReleased } = require('${{ github.workspace }}/release/dist/index.cjs');
const version = '${{ inputs.version }}';
......@@ -83,13 +83,13 @@ jobs:
uses: actions/github-script@v6
with:
result-encoding: string
script: |
script: | # js
const fs = require('fs');
const artifacts = await github.rest.actions.listArtifactsForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
name: `metabase-${{ matrix.edition }}-${{ inputs.commit }}-uberjar`,
name: `metabase-release-${{ matrix.edition }}-${{ inputs.commit }}-uberjar`,
per_page: 1,
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment