Skip to content
Snippets Groups Projects
Unverified Commit bde391e9 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Percy GitHub Actions: shortcut the process to get the version (#17370)

Since it needs to grab the built JAR anyway, it's faster to obtain the
version.properties from the JAR.

This shaves off approx. 1 minute from Percy CI run.
parent 054a9e8b
No related branches found
No related tags found
No related merge requests found
......@@ -125,12 +125,14 @@ jobs:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- run: ./bin/build version
- uses: actions/download-artifact@v2
name: Retrieve uberjar artifact
with:
name: metabase-oss-uberjar
- name: Get the version info
run: |
jar xf target/uberjar/metabase.jar version.properties
mv version.properties resources/
- name: Percy Test
uses: percy/exec-action@v0.3.1
......
......@@ -99,12 +99,14 @@ jobs:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- run: ./bin/build version
- uses: actions/download-artifact@v2
name: Retrieve uberjar artifact
with:
name: metabase-oss-uberjar
- name: Get the version info
run: |
jar xf target/uberjar/metabase.jar version.properties
mv version.properties resources/
- name: Percy Test
uses: percy/exec-action@v0.3.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