File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ permissions:
2929jobs :
3030 release :
3131 runs-on : ubuntu-latest
32+ permissions :
33+ contents : write
34+ id-token : write
35+
3236 strategy :
3337 matrix :
3438 python-version : [ "3.12" ]
5458
5559 - name : Commit version change
5660 run : |
57- git config --global user.email "github-tracker-bot@taplytics .com"
61+ git config --global user.email "foundation-admin@devcycle .com"
5862 git config --global user.name "DevCycle Automation"
5963 git add ./devcycle_python_sdk/VERSION.txt
6064 git commit -m "Release ${{steps.prepare-release.outputs.next-release-tag}}"
8185 twine check dist/*
8286
8387 - name : Upload build package to PyPI
84- run : |
85- twine upload --non-interactive dist/*
86- env :
87- TWINE_USERNAME : __token__
88- TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
88+ uses : pypa/gh-action-pypi-publish@release/v1
8989 if : inputs.prerelease != true && inputs.draft != true
9090
9191 -
uses :
DevCycleHQ/release-action/[email protected]
Original file line number Diff line number Diff line change 1515 with :
1616 sdks-to-test : python
1717 sdk-github-sha : ${{github.event.pull_request.head.sha}}
18- github-token : ${{ secrets.TEST_HARNESS_GH_SECRET }}
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ jobs:
2525 run : |
2626 cd example && python local_bucketing_client_example.py
2727 env :
28- DEVCYCLE_SERVER_SDK_KEY : " ${{ secrets.DEVCYCLE_SERVER_SDK_KEY }} "
28+ DEVCYCLE_SERVER_SDK_KEY : dvc_server_token_hash
2929 - name : Run cloud bucketing example
3030 run : |
3131 cd example && python cloud_client_example.py
3232 env :
33- DEVCYCLE_SERVER_SDK_KEY : " ${{ secrets.DEVCYCLE_SERVER_SDK_KEY }} "
33+ DEVCYCLE_SERVER_SDK_KEY : dvc_server_token_hash
3434 - name : Run OpenFeature example
3535 run : |
3636 cd example && python openfeature_example.py
3737 env :
38- DEVCYCLE_SERVER_SDK_KEY : " ${{ secrets.DEVCYCLE_SERVER_SDK_KEY }} "
38+ DEVCYCLE_SERVER_SDK_KEY : dvc_server_token_hash
You can’t perform that action at this time.
0 commit comments