diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c6c7259..41d456e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -5,21 +5,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: set up JDK 1.8 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: - java-version: 1.8 + java-version: 8 + distribution: zulu - name: Run CI run: make ci - - name: Upload SonarCloud - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: make sonar - name: Upload artifact if: github.ref == 'refs/heads/master' - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: google-analytics-dispatcher.zip - path: release/ \ No newline at end of file + path: release/ + override: true