From 84a2bd85c1798219e41445905bb278d23a384127 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 16 Oct 2023 18:07:19 +0000 Subject: [PATCH 1/2] Update sbt-github-actions to 0.18.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 2343e6bf..08f0bea3 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -5,7 +5,7 @@ addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.6.1") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.6") // https://github.com/djspiewak/sbt-github-actions/releases -addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.17.0") +addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.18.0") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") From f63935f4e344db8b6733cbfe7c1b0b66433a20db Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Mon, 16 Oct 2023 18:08:13 +0000 Subject: [PATCH 2/2] Regenerate GitHub Actions workflow Executed command: sbt githubWorkflowGenerate --- .github/workflows/clean.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/clean.yml b/.github/workflows/clean.yml index 547aaa43..bfc865d5 100644 --- a/.github/workflows/clean.yml +++ b/.github/workflows/clean.yml @@ -17,6 +17,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Delete artifacts + shell: bash {0} run: | # Customize those three lines with your repository and credentials: REPO=${GITHUB_API_URL}/repos/${{ github.repository }} @@ -25,7 +26,7 @@ jobs: ghapi() { curl --silent --location --user _:$GITHUB_TOKEN "$@"; } # A temporary file which receives HTTP response headers. - TMPFILE=/tmp/tmp.$$ + TMPFILE=$(mktemp) # An associative array, key: artifact name, value: number of artifacts of that name. declare -A ARTCOUNT