Skip to content

Commit 672d313

Browse files
committed
removed not needed platforms and actions
1 parent 5a8939e commit 672d313

File tree

4 files changed

+40
-82
lines changed

4 files changed

+40
-82
lines changed

.github/workflows/cron.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/push.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,44 @@
1-
name: Remote Trigger
1+
name: ESP32 Arduino master branch
22

3-
on: repository_dispatch
3+
on:
4+
workflow_dispatch: # Manually start a workflow
5+
# push:
6+
# branches: master
7+
# paths-ignore:
8+
# - '.github/**' # Ignore changes towards the .github directory
49

510
jobs:
6-
run:
7-
name: Dispatch Event
11+
build-libs:
12+
name: Build Arduino Libs
813
runs-on: ubuntu-latest
914
steps:
10-
- uses: actions/checkout@v1
11-
- name: Install dependencies
12-
run: bash ./tools/prepare-ci.sh
13-
- name: Handle Event
14-
env:
15-
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
16-
GIT_AUTHOR_EMAIL: ${{ secrets.PUSH_EMAIL }}
17-
GIT_COMMITTER_EMAIL: ${{ secrets.PUSH_EMAIL }}
18-
run: bash ./tools/repository_dispatch.sh
19-
- name: Upload archive
20-
uses: actions/upload-artifact@v1
21-
with:
22-
name: artifacts
23-
path: dist
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-python@v2
17+
with:
18+
python-version: "3.8.10"
19+
architecture: "x64"
20+
- name: Install dependencies
21+
run: bash ./tools/prepare-ci.sh
22+
- name: Build Arduino Libs
23+
run: bash ./build.sh
24+
- name: Upload artifact
25+
uses: actions/upload-artifact@v2
26+
with:
27+
name: esp32-arduino
28+
path: dist
29+
- name: Download new builded framework
30+
uses: actions/download-artifact@v2
31+
with:
32+
name: esp32-arduino
33+
path: ./esp32-arduino
34+
- name: Display files from folder esp32-arduino
35+
run: ls esp32-arduino/*
36+
- name: Release
37+
uses: softprops/action-gh-release@v1
38+
#if: startsWith(github.ref, 'refs/tags/')
39+
with:
40+
tag_name: ${{ github.run_number }}
41+
prerelease: true
42+
files: esp32-arduino/framework*
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ source ./tools/install-esp-idf.sh
2121
if [ $? -ne 0 ]; then exit 1; fi
2222

2323
if [ -z $TARGETS ]; then
24-
TARGETS="esp32c3 esp32s2 esp32"
24+
TARGETS="esp32s2"
2525
fi
2626

2727
echo $(git -C $AR_COMPS/arduino describe --all --long) > version.txt

0 commit comments

Comments
 (0)