Skip to content

chore(ci): only publish to PyPI if a new release was created #64

chore(ci): only publish to PyPI if a new release was created

chore(ci): only publish to PyPI if a new release was created #64

Workflow file for this run

name: Generate and lint code
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version-file: .python-version
- name: Install pyaml for Metal patching script
run: |
python -m pip install pyaml
- name: Verify Patches
run: make patch-all
- name: Generate
run: |
make generate-all
# Expect all changes to be accounted for
! git status --porcelain | grep .