Skip to content

chore: bump to 0.12.0 #56

chore: bump to 0.12.0

chore: bump to 0.12.0 #56

Workflow file for this run

---
name: bundle
on:
push:
tags:
- '*'
env:
UV_LOCKED: 1
permissions:
contents: read
jobs:
build:
name: build dist files
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
version: "0.12.17"
- name: build dist
run: uv build
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: artifacts
path: dist/*
if-no-files-found: error
release:
name: create Github release
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- name: create the release
run: gh release create "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --verify-tag --notes ""
env:
GH_TOKEN: ${{ github.token }}
publish:
name: release to pypi
needs: build
runs-on: ubuntu-24.04
environment:
name: pypi-release
url: https://pypi.org/project/scim2-models/
permissions:
id-token: write
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: artifacts
path: dist
- name: Push build artifacts to PyPI
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2