diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4954590..ebf20e7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,8 +17,6 @@ jobs: lfs: true - name: Clone submodules run: git submodule update --init --recursive - - name: apt-get update - run: sudo apt-get update - name: Set up JDK uses: actions/setup-java@v4 with: @@ -31,6 +29,6 @@ jobs: ~/.coursier key: ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt') }} - name: Compile and run tests - run: sbt +test + run: sbt stage +test env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df28bab..c239b24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: distribution: 'temurin' java-version: '21' - name: Compile and run tests - run: sbt +test + run: sbt stage +test env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} release: @@ -40,7 +40,7 @@ jobs: with: distribution: 'temurin' java-version: '21' - - run: sbt compile +test + - run: sbt stage env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: sbt publish