File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ push :
5+ tags :
6+ - " [0-9]+.[0-9]+.[0-9]+*"
7+
8+ jobs :
9+ core-release-from-tag :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout repository
14+ uses : actions/checkout@v6
15+ with :
16+ submodules : ' recursive'
17+
18+ - name : Get the toolchain
19+ run : |
20+ wget -O /opt/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 https://developer.arm.com/-/media/files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
21+ tar -xjf /opt/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 -C /opt/
22+
23+ - name : Setup build tools
24+ run : |
25+ sudo apt-get install -y git mercurial
26+
27+ - name : Set core version
28+ run : echo "TAG_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
29+
30+ - name : Get repo name
31+ run : echo "REPOSITORY_NAME=$(echo ${{ github.repository }} | cut -d "/" -f2-)" >> $GITHUB_ENV
32+
33+ - name : Build the core
34+ run : |
35+ export PATH=$PATH:/opt/gcc-arm-none-eabi-9-2019-q4-major/bin/
36+ extras/package.sh $TAG_VERSION
37+
38+ - name : Save core packages as artifact
39+ uses : actions/upload-artifact@v7
40+ with :
41+ name : ArduinoCore-renesas-packages
42+ path : ./*.tar.bz2
43+
44+ - name : Save core json as artifact
45+ uses : actions/upload-artifact@v7
46+ with :
47+ name : ArduinoCore-renesas-json
48+ path : ./*.json
You can’t perform that action at this time.
0 commit comments