Skip to content

Publish uvloop 0.23.0 once #80

Publish uvloop 0.23.0 once

Publish uvloop 0.23.0 once #80

Workflow file for this run

name: Release
run-name: Publish uvloop 0.23.0 once
on:
push:
branches:
- publish-0.23.0-once
jobs:
# This workflow exists only on the temporary publishing branch.
# Artifacts: https://github.com/MagicStack/uvloop/actions/runs/36759309178
publish-0-23-0:
if: github.event.deleted == false
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
id-token: write
steps:
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
github-token: ${{ github.token }}
repository: MagicStack/uvloop
run-id: 36759309178
pattern: dist-*
path: artifacts/
- name: Verify and collect uvloop 0.23.0 distributions
shell: bash
run: |
set -euo pipefail
[[ "$(cat artifacts/dist-version/VERSION)" == "0.23.0" ]]
wheel_dirs=(artifacts/dist-wheels-*)
[[ ${#wheel_dirs[@]} -eq 40 ]]
mkdir dist
cp artifacts/dist-sdist/uvloop-0.23.0.tar.gz dist/
for wheel_dir in "${wheel_dirs[@]}"; do
cp "$wheel_dir"/uvloop-0.23.0-*.whl dist/
done
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
with:
skip-existing: true
verbose: true