From 970c29b34beb5711b1c548d2c2f0503848c487dc Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sun, 15 Aug 2021 02:54:04 +0200 Subject: [PATCH 1/2] Update sbt-github-actions to 0.13.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 68c9c13..373877d 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.6") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.3") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") -addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.12.0") +addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.13.0") addSbtPlugin("com.codecommit" % "sbt-spiewak-sonatype" % "0.21.0") From 5de56b3cbf613b5bade0d54418d04bd7f9fb77ab Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sun, 15 Aug 2021 02:54:26 +0200 Subject: [PATCH 2/2] Regenerate workflow with sbt-github-actions --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/clean.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a829f7..d2d05e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: fetch-depth: 0 - name: Setup Java and Scala - uses: olafurpg/setup-scala@v12 + uses: olafurpg/setup-scala@v13 with: java-version: ${{ matrix.java }} @@ -53,9 +53,9 @@ jobs: key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Check that workflows are up to date - run: sbt --client '++${{ matrix.scala }}; githubWorkflowCheck' + run: sbt ++${{ matrix.scala }} githubWorkflowCheck - - run: sbt --client '++${{ matrix.scala }}; ci' + - run: sbt ++${{ matrix.scala }} ci - name: Compress target directories run: tar cf targets.tar target project/target @@ -83,7 +83,7 @@ jobs: fetch-depth: 0 - name: Setup Java and Scala - uses: olafurpg/setup-scala@v12 + uses: olafurpg/setup-scala@v13 with: java-version: ${{ matrix.java }} @@ -112,4 +112,4 @@ jobs: - name: Import signing key run: echo $PGP_SECRET | base64 -d | gpg --import - - run: sbt --client '++${{ matrix.scala }}; release' \ No newline at end of file + - run: sbt ++${{ matrix.scala }} release diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index b535fcc..547aaa4 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -56,4 +56,4 @@ jobs: printf "Deleting '%s' #%d, %'d bytes\n" $name ${ARTCOUNT[$name]} $size ghapi -X DELETE $REPO/actions/artifacts/$id done - done \ No newline at end of file + done