Skip to content

Merge pull request #690 from ACEsuit/develop #4

Merge pull request #690 from ACEsuit/develop

Merge pull request #690 from ACEsuit/develop #4

Workflow file for this run

name: Release on tag
on:
push:
tags:
# After vMajor.Minor.Patch _anything_ is allowed (without "/") !
- v[0-9]+.[0-9]+.[0-9]+*
jobs:
publish:
runs-on: ubuntu-latest
if: github.repository == 'ACEsuit/mace' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: Build project for distribution
run: |
python -m pip install --upgrade pip
python -m pip install build
python -m build
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*"
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
skipIfReleaseExists: true