Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: heremaps/here-sbt-bom
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.18
Choose a base ref
...
head repository: heremaps/here-sbt-bom
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.19
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 10, 2024

  1. Update release.yml (#31)

    Signed-off-by: Anton Wilhelm <anton.wilhelm@here.com>
    devtonhere authored Dec 10, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    phillebaba Philip Laine
    Copy the full SHA
    e9e725b View commit details
Showing with 9 additions and 2 deletions.
  1. +9 −2 .github/workflows/release.yml
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -11,31 +11,38 @@ jobs:
release:

runs-on: ubuntu-22.04
if: "!contains(github.event.head_commit.message, '[skip release]') && github.event.workflow_run.conclusion == 'success'"
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Check Skip Commit
id: checkskip
run: if [[ $(git log -1 --pretty=format:"%s") =~ "\[skip release\]" ]]; then false; else true; fi
- uses: actions/checkout@v3
with:
ref: master
fetch-depth: 0
- name: Set up JDK 8
if: steps.checkskip.conclusion == 'success'
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Cache SBT
if: steps.checkskip.conclusion == 'success'
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt', 'project/**') }}
- name: Push git tag
if: steps.checkskip.conclusion == 'success'
run: ./.github/scripts/push-tag.sh
- name: Deploy
if: steps.checkskip.conclusion == 'success'
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_KEY }}
run: ./.github/scripts/deploy.sh
run: ./.github/scripts/deploy.sh