Skip to content

Commit

Permalink
Fix hyperdrivetypes pypi upload error. Includes version bump to 1.0.2…
Browse files Browse the repository at this point in the history
…0.11 (#1212)

* Temp build and upload hyperdrivetypes on PR

* hyperdrivetypes version bump to 1.0.20.11 to kick off ci

* Avoid double test ci for hyperdrivetypes

* Undo version bump and add verbose to upload pypi ci

* Adding sheng as author (to kick off upload ci)

* Using older version of pypi publish that better supports upload from nested workflows

* Wrong syntax for pinning action

* Don't use on workflow call

* Removing build and upload wheels on pr

* Version bump to 1.0.20.11
  • Loading branch information
slundqui authored Nov 12, 2024
1 parent fb42bf5 commit 7cfaaf0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 29 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build_hyperdrivetypes.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
name: build and upload hyperdrivetypes wheel

on:
workflow_call:
push:
branches:
- "main"

jobs:
detect-changes:
uses: ./.github/workflows/check_diff.yaml
with:
pattern: ^python/hyperdrivetypes/pyproject.toml$

build-wheel:
name: build hyperdrivetypes wheel
needs: detect-changes
runs-on: ubuntu-latest
if: needs.detect-changes.outputs.changed == 'true'
steps:
- name: checkout hyperdrive
uses: actions/checkout@v4
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/build_types_on_change.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/build_types_on_tag.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/test_hyperdrivetypes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Test Hyperdrivetypes

on:
push:
branches:
- "main"
pull_request:

jobs:
Expand Down
3 changes: 2 additions & 1 deletion python/hyperdrivetypes/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[project]
name = "hyperdrivetypes"
version = "1.0.20.10"
version = "1.0.20.11"

# Authors are the current, primary stewards of the repo
# contributors can be found on github
authors = [
{ name = "Dylan Paiton", email = "[email protected]" },
{ name = "Matthew Brown", email = "[email protected]" },
{ name = "Sheng Lundquist", email = "[email protected]" },
]
description = "Python type definitions for the Hyperdrive smart contracts and integrations."
readme = "README.md"
Expand Down

0 comments on commit 7cfaaf0

Please sign in to comment.