Skip to content

Commit

Permalink
bump java version
Browse files Browse the repository at this point in the history
  • Loading branch information
molarmanful committed Nov 25, 2023
1 parent 6256b57 commit a2d386b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/cmdoc.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
name: cmdoc

on: push

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
cmdoc:
runs-on: ubuntu-latest
Expand All @@ -16,12 +14,12 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '*'
node-version: "*"
- run: npm ci
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 20
java-version: 21
- name: test
run: |
./mill sclin.checkFormat
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---
name: release

on:
push:
tags:
- '*'

tags: ["*"]
jobs:
maven:
runs-on: ubuntu-latest
Expand All @@ -15,7 +13,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 20
java-version: 21
- uses: coursier/cache-action@v6
- name: gpg
uses: crazy-max/ghaction-import-gpg@v5
Expand All @@ -34,13 +32,12 @@ jobs:
run: |
./mill mill.scalalib.PublishModule/publishAll \
__.publishArtifacts \
$SONATYPE_USERNAME:$SONATYPE_PASSWORD \
--gpgArgs --passphrase=$SONATYPE_GPG_PASSWORD,--no-tty,--pinentry-mode,loopback,--batch,--yes,-a,-b \
"$SONATYPE_USERNAME:$SONATYPE_PASSWORD" \
--gpgArgs --passphrase="$SONATYPE_GPG_PASSWORD",--no-tty,--pinentry-mode,loopback,--batch,--yes,-a,-b \
--sonatypeUri https://s01.oss.sonatype.org/service/local \
--sonatypeSnapshotUri https://s01.oss.sonatype.org/content/repositories/snapshots \
--awaitTimeout 600000 \
--release true
github_docker:
runs-on: ubuntu-latest
steps:
Expand All @@ -50,7 +47,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 20
java-version: 21
- uses: coursier/cache-action@v6
- name: test
run: |
Expand All @@ -73,7 +70,6 @@ jobs:
context: .
push: true
tags: molarmanful/sclin:latest

sync:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a2d386b

Please sign in to comment.