fix(common-jvm): improve the check for presence of Maven Wrapper nece… #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- master | |
- next | |
- beta | |
- alpha | |
env: | |
CI: true | |
jobs: | |
release: | |
name: Build, Release & Publish | |
permissions: | |
contents: write | |
id-token: write # needed for provenance data generation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
fetch-tags: true | |
- name: Setup Git | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name "Semantic Release CI" | |
- name: Install node, pnpm, and dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Build, Release on GitHub & Publish to NPM | |
env: | |
HUSKY: '0' # By default do not run HUSKY install | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NPM_CONFIG_PROVENANCE: true | |
run: | | |
pnpm nx release --yes -- --skip-nx-cache |