We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84d5f6 commit 43e955bCopy full SHA for 43e955b
.github/workflows/deploy.yml
@@ -13,4 +13,7 @@ jobs:
13
distribution: 'temurin'
14
java-version: '21'
15
- run: ./gradlew shadowJar
16
- - run: 'curl -X PUT --data-binary @build/libs/AfnwCore2-*-all.jar "https://saba8-deploy.azisaba.dev/deploy?secret={{ secrets.DEPLOYMAN_SECRET_SABA8 }}&token={{ secrets.DEPLOYMAN_TOKEN }}&filename=AfnwCore2.jar"'
+ - run: |
17
+ JAR_FILE=$(ls build/libs/AfnwCore2-*-all.jar | head -n 1)
18
+ echo "Uploading file: ${JAR_FILE}"
19
+ curl -X PUT --data-binary "@${JAR_FILE}" "https://saba8-deploy.azisaba.dev/deploy?secret={{ secrets.DEPLOYMAN_SECRET_SABA8 }}&token={{ secrets.DEPLOYMAN_TOKEN }}&filename=AfnwCore2.jar"
0 commit comments