Skip to content

Commit

Permalink
ci: try to fix nightly build x4
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Nov 13, 2024
1 parent 80ce978 commit 02880fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ jobs:
id: vars
run: |
SHADED_JAR=$(find server/build/libs -name "allay-server-*-shaded.jar" -print -quit)
echo "SHADED_JAR=$SHADED_JAR" >> $GITHUB_OUTPUT
echo "shaded_jar=$SHADED_JAR" >> $GITHUB_OUTPUT
- name: Upload Artifact
uses: actions/upload-artifact@v4
if: success()
with:
name: allay-server
path: server/build/libs/${{ steps.vars.outputs.SHADED_JAR }}
path: ${{ steps.vars.outputs.shaded_jar }}

- name: Publish to JitPack
uses: fjogeleit/http-request-action@v1
Expand All @@ -96,7 +96,7 @@ jobs:
with:
upload_url: https://uploads.github.com/repos/AllayMC/Allay/releases/185111149/assets{?name,label}
release_id: 185111149
asset_path: ./server/build/libs/${{ steps.vars.outputs.SHADED_JAR }}
asset_path: ./${{ steps.vars.outputs.shaded_jar }}
asset_name: allay-nightly-$$.zip
asset_content_type: application/zip
max_releases: 1
Expand All @@ -114,7 +114,7 @@ jobs:
port: ${{ secrets.TEST_SERVER_PORT }}
key: ${{ secrets.TEST_SERVER_SSH_KEY }}
passphrase: ${{ secrets.TEST_SERVER_SSH_KEY_PASSPHRASE }}
source: server/build/libs/${{ steps.vars.outputs.SHADED_JAR }}
source: ${{ steps.vars.outputs.shaded_jar }}
strip_components: 3
target: "/root/allaymc/tmp"

Expand Down

0 comments on commit 02880fb

Please sign in to comment.