mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 08:14:00 +02:00
gave up
This commit is contained in:
parent
cb00ba3978
commit
fd1267456c
1 changed files with 6 additions and 6 deletions
12
.github/workflows/gradle.yml
vendored
12
.github/workflows/gradle.yml
vendored
|
|
@ -60,24 +60,24 @@ jobs:
|
||||||
# grep -v "offline" to exclude offline jar as the regex would catch it otherwise
|
# grep -v "offline" to exclude offline jar as the regex would catch it otherwise
|
||||||
- name: Get file name for jars
|
- name: Get file name for jars
|
||||||
run: |
|
run: |
|
||||||
online_jar_path=$(ls build/libs/CustomAnvil-*.jar | grep -v "offline")
|
ONLINE_JAR_PATH=$(ls build/libs/CustomAnvil-*.jar | grep -v "offline")
|
||||||
offline_jar_path=$(ls build/libs/CustomAnvil-*-offline.jar)
|
OFFLINE_JAR_PATH=$(ls build/libs/CustomAnvil-*-offline.jar)
|
||||||
|
|
||||||
echo "ONLINE_JAR_PATH=${online_jar_path}" >> $GITHUB_ENV
|
echo "ONLINE_JAR_NAME=$(basename $ONLINE_JAR_PATH)" >> $GITHUB_ENV
|
||||||
echo "ONLINE_JAR_PATH=${offline_jar_path}" >> $GITHUB_ENV
|
echo "OFFLINE_JAR_NAME=$(basename $OFFLINE_JAR_PATH)" >> $GITHUB_ENV
|
||||||
|
|
||||||
# upload the named jars
|
# upload the named jars
|
||||||
- name: Upload online JAR artifact
|
- name: Upload online JAR artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CustomAnvil.jar
|
name: CustomAnvil.jar
|
||||||
path: ${{ env.ONLINE_JAR_PATH }}
|
path: build/libs/${{ env.ONLINE_JAR_NAME }}
|
||||||
|
|
||||||
- name: Upload offline JAR file
|
- name: Upload offline JAR file
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: CustomAnvil-offline.jar
|
name: CustomAnvil-offline.jar
|
||||||
path: ${{ env.OFFLINE_JAR_PATH }}
|
path: build/libs/${{ env.OFFLINE_JAR_NAME }}
|
||||||
|
|
||||||
- name: Summarize tests results
|
- name: Summarize tests results
|
||||||
uses: jeantessier/test-summary-action@v1
|
uses: jeantessier/test-summary-action@v1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue