We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc40edb commit 40ae463Copy full SHA for 40ae463
.github/workflows/build_py_tools.yml
@@ -72,6 +72,12 @@ jobs:
72
DISTPATH: pytools-${{ matrix.TARGET }}
73
PIP_EXTRA_INDEX_URL: "https://dl.espressif.com/pypi"
74
steps:
75
+ - id: create_token
76
+ uses: tibdex/github-app-token@v2
77
+ with:
78
+ app_id: ${{ secrets.TOOLS_UPLOAD_APP_ID }}
79
+ private_key: ${{ secrets.TOOLS_UPLOAD_APP_TOKEN }}
80
+
81
- name: List changed tools
82
shell: bash
83
run: |
@@ -89,7 +95,7 @@ jobs:
89
95
- name: Checkout repository
90
96
uses: actions/checkout@v4
91
97
with:
92
- token: ${{ secrets.TOOLS_UPLOAD_PAT }}
98
+ token: ${{ steps.create_token.outputs.token }}
93
99
ref: ${{ github.event.pull_request.head.ref }}
94
100
- name: Set up Python 3.8
101
# Skip setting python on ARM because of missing compatibility: https://github.com/actions/setup-python/issues/108
0 commit comments