diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 907815c4..3dfc119b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: Build, Test & Upload on: push: - pull_request: - branches-ignore: + branches: - master + pull_request: jobs: building: @@ -26,10 +26,10 @@ jobs: restore-keys: ${{ runner.os }}-gradle - name: Build project - run: gradle build + run: ./gradlew build - name: Run tests - run: gradle test + run: ./gradlew test - name: Upload Nightly Build uses: actions/upload-artifact@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 580ee64e..77c4b493 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,7 @@ on: push: branches: - master + pull_request: jobs: testing: @@ -28,7 +29,7 @@ jobs: restore-keys: ${{ runner.os }}-gradle - name: Build skript-parser - run: gradle build + run: ./gradlew build - name: Run tests - run: gradle test + run: ./gradlew test