Skip to content

Merge pull request #20 from shirte/main #9

Merge pull request #20 from shirte/main

Merge pull request #20 from shirte/main #9

Workflow file for this run

name: "Semantic release"
on:
push:
branches:
- main
jobs:
release:
if: github.repository == 'molinfo-vienna/nerdd-module'
runs-on: ubuntu-latest
permissions:
contents: write
concurrency: release
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.NERDD_APP_ID }}
private-key: ${{ secrets.NERDD_APP_SECRET }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ steps.app-token.outputs.token }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build