Skip to content

doc: update readme

doc: update readme #60

Workflow file for this run

name: Build main and release
on:
push:
paths-ignore:
- 'README.md'
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
concurrency:
group: ${{ github.name }}-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
permissions:
id-token: write
contents: read
checks: write # required for test-reporter
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/build
- uses: ./.github/workflows/actions/doc
test:
needs: [ build ]
runs-on: macos-13
permissions:
checks: write # required for test-reporter
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/test
release:
needs: [ build, test ]
if: github.ref == 'refs/heads/main'
runs-on: macos-13
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Setup git-mkver
uses: cperezabo/[email protected]
with:
version: "1.3.0"
- name: Generate version
id: generate-version
run: |
export VERSION=$(git mkver next)
echo $VERSION
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
#echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
- name: Create Release
uses: ncipollo/[email protected]
with:
tag: ${{ env.VERSION }} #${{ steps.generate-version.outputs.VERSION }}
generateReleaseNotes: true
token: ${{ secrets.PAT }} # required to trigger release-publish, see https://stackoverflow.com/questions/69063452/github-actions-on-release-created-workflow-trigger-not-working