-
Notifications
You must be signed in to change notification settings - Fork 6
Try passing the environment as a JSON string #51
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -10,10 +10,6 @@ on: | |||||||||||
| jobs: | ||||||||||||
| publish: | ||||||||||||
| name: Publish wheel to TestPyPI | ||||||||||||
| runs-on: ubuntu-latest | ||||||||||||
| environment: | ||||||||||||
| name: testpypi | ||||||||||||
| url: https://test.pypi.org/p/seclab-taskflow-agent2 | ||||||||||||
| permissions: | ||||||||||||
| contents: write | ||||||||||||
| id-token: write # For trusted publishing | ||||||||||||
|
|
@@ -22,6 +18,6 @@ jobs: | |||||||||||
| version: ${{ inputs.version }} | ||||||||||||
| release_notes: ${{ github.head_ref }} | ||||||||||||
| repository_url: https://test.pypi.org/legacy/ | ||||||||||||
| environment: testpypi | ||||||||||||
| environment: '{"name": "testpypi", "url": "https://test.pypi.org/p/seclab-taskflow-agent2"}' | ||||||||||||
|
||||||||||||
| environment: '{"name": "testpypi", "url": "https://test.pypi.org/p/seclab-taskflow-agent2"}' | |
| environment_name: testpypi | |
| environment: | |
| name: testpypi | |
| url: https://test.pypi.org/p/seclab-taskflow-agent2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
runs-onkey is required for all jobs that don't call reusable workflows withuses. Since this job calls a reusable workflow, theruns-onshould not be defined here (it's defined in the reusable workflow). However, theenvironmentconfiguration that was removed should be restored at this job level, as it cannot be passed as a parameter to control deployment environments properly.