Skip to content

Commit

Permalink
Maybe this will allow multiple lines going to GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
Guardian Automated Maven Release committed Dec 3, 2023
1 parent df98fb2 commit 7294a19
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/isolated-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
key_fingerprint=$(echo $key_fingerprint_and_email | awk '{print $1}')
key_email=$(echo $key_fingerprint_and_email | awk '{print $2}')
{
"key_fingerprint=$key_fingerprint"
"key_email=$key_email"
} >> $GITHUB_OUTPUT
cat << EndOfFile >> $GITHUB_OUTPUT
key_fingerprint=$key_fingerprint
key_email=$key_email"
EndOfFile
generate-version-update-commits:
name: Generate Version Update Commits
Expand Down Expand Up @@ -75,6 +75,7 @@ jobs:
fail-on-cache-miss: true
- uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 17
gpg-private-key: ${{ secrets.AUTOMATED_MAVEN_RELEASE_PGP_SECRET }}
- name: Create commit
Expand Down Expand Up @@ -172,10 +173,10 @@ jobs:
fail-on-cache-miss: true
- name: Create tiny sbt project to perform Sonatype upload
run: |
cat <<EOT > build.sbt
cat << EndOfFile > build.sbt
sonatypeBundleDirectory := new File("/tmp/funky")
sonatypeProfileName := "com.gu"
EOT
EndOfFile
mkdir project
echo 'addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.21")' > project/plugins.sbt
Expand Down
7 changes: 1 addition & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ lazy val `etag-caching-root` = (project in file("."))
setReleaseVersion,
commitReleaseVersion,
tagRelease,
pushChanges,
// For non cross-build projects, use releaseStepCommand("publishSigned")
releaseStepCommandAndRemaining("+publishSigned"),
releaseStepCommand("sonatypeBundleRelease"),
setNextVersion,
commitNextVersion,
pushChanges
commitNextVersion
)
)

0 comments on commit 7294a19

Please sign in to comment.