File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build QA Artifact
1+ name : Build Artifact
22
33on :
44 push :
@@ -11,7 +11,7 @@ permissions:
1111
1212jobs :
1313 build :
14- name : Build wallet-cli QA artifact
14+ name : Build wallet-cli artifact
1515 runs-on : ubuntu-latest
1616
1717 steps :
2828 - name : Build
2929 run : ./gradlew clean build shadowJar shadowDistZip
3030
31- - name : Package QA artifacts
31+ - name : Package artifacts
3232 shell : bash
3333 run : |
3434 set -euo pipefail
@@ -38,21 +38,23 @@ jobs:
3838 version="dev"
3939 fi
4040
41- artifact_dir="qa- artifacts"
41+ artifact_dir="artifacts"
4242 artifact_base="wallet-cli-${version}-rc.${GITHUB_RUN_NUMBER}"
43+ artifact_name="wallet-cli-artifact-${GITHUB_REF_NAME}"
4344
4445 mkdir -p "$artifact_dir"
4546 cp build/libs/wallet-cli.jar "$artifact_dir/${artifact_base}.jar"
4647 cp build/distributions/*shadow*.zip "$artifact_dir/${artifact_base}.zip"
4748 git rev-parse HEAD > "$artifact_dir/git-sha.txt"
49+ echo "ARTIFACT_NAME=${artifact_name}" >> "$GITHUB_ENV"
4850
4951 (
5052 cd "$artifact_dir"
5153 shasum -a 256 "${artifact_base}.jar" "${artifact_base}.zip" git-sha.txt > checksums.txt
5254 )
5355
54- - name : Upload QA artifact
56+ - name : Upload artifact
5557 uses : actions/upload-artifact@v4
5658 with :
57- name : wallet-cli-qa-artifact
58- path : qa- artifacts/*
59+ name : ${{ env.ARTIFACT_NAME }}
60+ path : artifacts/*
You can’t perform that action at this time.
0 commit comments