From 1c55b0de1d2a6a1cfbce5df75f177495e081b43d Mon Sep 17 00:00:00 2001 From: ajgeiss0702 Date: Sat, 5 Mar 2022 10:53:33 -0700 Subject: [PATCH] try this --- .github/workflows/gradle.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 76b7dcd..11d3ff6 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -70,13 +70,14 @@ jobs: - uses: actions/download-artifact@v2 with: name: build-files - - run: mkdir jars - - run: cp free/build/libs/ajQueue*.jar jars/ - - run: cp premium/build/libs/ajQueue*.jar jars/ - - run: cd jars - - run: files=(*) - - run: ls - - run: echo ${files[0]} - - run: echo ${files[1]} - - run: curl -i -F "submit=true" -F "secret=${{ secrets.UPLOAD_TOKEN }}" -F "file=@${files[0]}" https://ajg0702.us/pl/updater/upload.php - - run: curl -i -F "submit=true" -F "secret=${{ secrets.UPLOAD_TOKEN }}" -F "file=@${files[1]}" https://ajg0702.us/pl/updater/upload.php \ No newline at end of file + - run: | + mkdir jars + cp free/build/libs/ajQueue*.jar jars/ + cp premium/build/libs/ajQueue*.jar jars/ + cd jars + files=(*) + ls + echo ${files[0]} + echo ${files[1]} + curl -i -F "submit=true" -F "secret=${{ secrets.UPLOAD_TOKEN }}" -F "file=@${files[0]}" https://ajg0702.us/pl/updater/upload.php + curl -i -F "submit=true" -F "secret=${{ secrets.UPLOAD_TOKEN }}" -F "file=@${files[1]}" https://ajg0702.us/pl/updater/upload.php \ No newline at end of file