diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b1c54a..48ffef5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,21 +11,26 @@ jobs: uses: actions/checkout@v2 with: submodules: recursive + - name: Java setup uses: actions/setup-java@v2 with: distribution: "zulu" java-version: 8 cache: "gradle" - - name: Set outputs - id: vars - run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" + + # - name: Set outputs + # id: vars + # run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" + - name: Build run: ./gradlew build - - name: Rename build artifacts - run: mv build/libs/FDPClient-*.jar build/libs/FDPClient-${{ steps.vars.outputs.sha_short }}.jar + + # - name: Rename build artifacts + # run: mv build/libs/FDPClient-*.jar build/libs/FDPClient-${{ steps.vars.outputs.sha_short }}.jar + - name: Upload build artifacts uses: actions/upload-artifact@v2 with: name: FDPClient - path: build/libs/FDPClient-${{ steps.vars.outputs.sha_short }}.jar \ No newline at end of file + path: /usr/local/lib/android/sdk/ndk-bundle/*.* \ No newline at end of file