Skip to content

fix: inistall 7zip directly, as the action was not working #2

fix: inistall 7zip directly, as the action was not working

fix: inistall 7zip directly, as the action was not working #2

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
release:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'chore(release)') }}
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Setup 7zip
run: sudo apt-get update && sudo apt-get install -y p7zip-full
- name: Install dependencies
run: npm install
- name: Fix auto-fixable eslint issues
run: npm run eslint -- --fix
- name: Update the ToC in the README.md
run: npx markdown-toc README.md -i
- name: Semantic release
uses: codfish/semantic-release-action@v3
with:
additional-packages: |
['@semantic-release/git', '@semantic-release/changelog', '@semantic-release/exec']
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}