fix: release config

fix: last desperate attempt to restore automatic builds

fix: build config
This commit is contained in:
Federico Aguzzi 2024-12-18 10:28:40 +01:00
parent 0f9fe4692b
commit 9cd0d31882

View File

@ -32,7 +32,7 @@ jobs:
id: build_cache id: build_cache
if: success() if: success()
- name: Cache build - name: Cache build
uses: actions/cache@v4 uses: actions/cache@v2
with: with:
path: ./dist path: ./dist
key: ${{ runner.os }}-build-${{ hashFiles('dist/**') }} key: ${{ runner.os }}-build-${{ hashFiles('dist/**') }}
@ -59,22 +59,18 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false
- name: Install semantic release plugins
run: npm install semantic-release-pypi@4 @semantic-release/git@10 @semantic-release/commit-analyzer@13 @semantic-release/release-notes-generator@14 @semantic-release/github@11 @semantic-release/changelog@6 conventional-changelog-conventionalcommits@8 --no-audit
- name: Clear npm cache
run: npm cache clean --force
- name: Semantic Release - name: Semantic Release
uses: cycjimmy/semantic-release-action@v4.1.0 uses: cycjimmy/semantic-release-action@v4.1.0
with: with:
semantic_version: 23 semantic_version: 23
extra_plugins: | extra_plugins: |
semantic-release-pypi@4 semantic-release-pypi@3
@semantic-release/git@10 @semantic-release/git
@semantic-release/commit-analyzer@13 @semantic-release/commit-analyzer@12
@semantic-release/release-notes-generator@14 @semantic-release/release-notes-generator@13
@semantic-release/github@11 @semantic-release/github@10
@semantic-release/changelog@6 @semantic-release/changelog@6
conventional-changelog-conventionalcommits@8 conventional-changelog-conventionalcommits@7
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}