Skip to content

Commit 1a86360

Browse files
committed
feat(release): Add Python setup and dependency installation steps
This update introduces steps to set up Python and install necessary dependencies before creating release artifacts. This ensures that the environment is properly configured for the release process. Signed-off-by: Chiho Sin <[email protected]>
1 parent ae9a67e commit 1a86360

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/fobe-release.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ jobs:
1717
with:
1818
submodules: "true"
1919

20+
- name: Set up Python
21+
uses: actions/setup-python@v6
22+
23+
- name: Install dependencies
24+
run: |
25+
python3 ./tools/get.py
26+
2027
- name: Create release artifacts
2128
run: |
2229
chmod +x tools/create_release.sh
@@ -31,11 +38,3 @@ jobs:
3138
generate_release_notes: true
3239
env:
3340
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
35-
# - name: Trigger Arduino Package Index Update
36-
# run: |
37-
# curl -X POST https://api.github.com/repos/fobe-projects/fobe-arduino-index/dispatches \
38-
# -H "Accept: application/vnd.github+json" \
39-
# -H "Authorization: Bearer ${{ secrets.FOBE_ARDUINO_INDEX_REPO_TOKEN }}" \
40-
# -H "X-GitHub-Api-Version: 2022-11-28" \
41-
# -d '{"event_type":"package-index-update"}'

0 commit comments

Comments
 (0)