Skip to content

Commit

Permalink
Only upload entire build folder and try alternate build command
Browse files Browse the repository at this point in the history
  • Loading branch information
leviem1 committed Jun 30, 2021
1 parent b310264 commit 4be322e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,19 @@ jobs:
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew "-Pver="${GITHUB_RUN_NUMBER} build --info
if: runner.os == 'Linux'
run: ./gradlew -Pver=${GITHUB_RUN_NUMBER} build --info

- name: Build with Gradle
if: runner.os == 'Windows'
run: ./gradlew "-Pver=$env:GITHUB_RUN_NUMBER" build --info

- name: Upload artifact
if: ${{ always() }}
uses: actions/upload-artifact@v2.2.4
with:
name: ${{ matrix.os }} Java ${{ matrix.java }} build
path: |
${{ github.workspace }}/build/libs/
${{ github.workspace }}/build
notify:
Expand Down

0 comments on commit 4be322e

Please sign in to comment.