From 758963115711adcf2230f3a945b44b7fbc1cc41a Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Tue, 17 Dec 2024 15:12:49 -0500 Subject: [PATCH] release: publish on macos-15, use node 20, JDK17 this matches my typical development environment more closely, so if it works locally (it does...) it should work in CI as well --- .github/workflows/publish.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4ae9e7fd..d23b5fc3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ permissions: jobs: publish: name: Publish - runs-on: ubuntu-latest + runs-on: macos-15 permissions: contents: write # to be able to publish a GitHub release issues: write # to be able to comment on released issues @@ -24,7 +24,13 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: "lts/*" + node-version: 20 + - name: Configure JDK + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '17' + # semantic-release uses npm to do final prepare + package + publish # npm will not tolerate node_modules directories installed via yarn