Skip to content

Commit

Permalink
add release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-kaushal committed Feb 2, 2024
1 parent 4642205 commit b54fbc3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
push:
tags: ["*"]

jobs:
release:
runs-on: ubuntu-latest

name: "Publish to PyPI"

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install pypa/build
run: python -m pip install build --user
- name: Build a package
run: python -m build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.OUTPOST_ACTIONS }}

0 comments on commit b54fbc3

Please sign in to comment.