forked from espressif/esp32-arduino-lib-builder
-
Notifications
You must be signed in to change notification settings - Fork 21
35 lines (34 loc) · 972 Bytes
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: IDF v5.3
on:
workflow_dispatch: # Manually start a workflow
jobs:
build-libs:
name: Build Arduino Libs
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: bash ./tools/prepare-ci.sh
- name: Get current branch
run: |
echo "GIT_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
- name: Build Arduino Libs
env:
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
GIT_AUTHOR_EMAIL: ${{ secrets.PUSH_EMAIL }}
run: bash ./build.sh
- name: Release
uses: jason2866/[email protected]
with:
tag_name: ${{ github.run_number }}
body_path: release-info.txt
prerelease: true
files: |
dist/framework*
release-info.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}