Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RSDK-9933] update github action for new release format #29

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

penguinland
Copy link
Contributor

Tagging Bijan because Khari is super busy.

I haven't tried this out, but it's mostly copied from https://github.com/viam-modules/viam-mlmodelservice-triton/blob/main/.github/workflows/publish.yml, which I have tried.

@penguinland penguinland requested a review from bhaney February 7, 2025 19:00
steps:
- uses: actions/checkout@v3
- uses: viamrobotics/build-action@v1
with:
# note: you can replace this line with 'version: ""' if you want to test the build process without deploying
version: ${{ github.ref_name }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has to change to github.event.release.tag_name

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Good catch!

@penguinland
Copy link
Contributor Author

Ruh-roh. pip install failed even though I didn't touch that part! I'm going to hope that was transient... 😳

Comment on lines 25 to 26
- uses: actions/checkout@v3
- uses: viamrobotics/build-action@v1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update these to the latest as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe v1 is the latest from viam. I've updated the checkout action to v4, which appears to be a drop-in replacement.

@penguinland
Copy link
Contributor Author

No, the dependency problems are not going to be transient: various things have changed in the past 7 months, and this needs to update to match. Taking a deeper look...

Copy link
Contributor Author

@penguinland penguinland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like in the past 7 months, github has upgraded to python 3.13, which is not supported in pillow 10 or numpy 1.25. I've bumped both requirements to versions that support python 3.13, though that probably means I should try out the whole module locally...

Comment on lines 25 to 26
- uses: actions/checkout@v3
- uses: viamrobotics/build-action@v1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe v1 is the latest from viam. I've updated the checkout action to v4, which appears to be a drop-in replacement.

@penguinland penguinland force-pushed the update_publish_action branch from 42aa3a7 to 51d6d5c Compare February 7, 2025 19:47
@penguinland
Copy link
Contributor Author

penguinland commented Feb 7, 2025

This PR won't pass its checks until #30 is merged.

@penguinland penguinland force-pushed the update_publish_action branch from 51d6d5c to f0a5316 Compare February 10, 2025 15:38
@penguinland
Copy link
Contributor Author

Hooray, the checks pass this time!

@penguinland penguinland merged commit 36b20f6 into viam-modules:main Feb 10, 2025
1 check passed
@penguinland penguinland deleted the update_publish_action branch February 10, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants