Skip to content

Commit

Permalink
release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed May 30, 2024
1 parent b57a8f2 commit 8256b19
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
release:

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/titanoboa-zksync
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
5 changes: 1 addition & 4 deletions .github/workflows/main.yaml → .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: unitary

on:
pull_request:
push: # all
push:

jobs:
unitary:
Expand Down

0 comments on commit 8256b19

Please sign in to comment.