File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1212 - uses : actions/checkout@v2
1313 with :
1414 submodules : true
15+ - name : Cache pip
16+ uses : actions/cache@v2
17+ with :
18+ path : ~/.cache/pip
19+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
20+ restore-keys : |
21+ ${{ runner.os }}-pip-
22+ - name : Cache PlatformIO
23+ uses : actions/cache@v2
24+ with :
25+ path : ~/.platformio
26+ key : ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
1527 - uses : actions/setup-python@v2
1628 with :
1729 python-version : ' 3.x'
30+ - name : Install PlatformIO
31+ run : |
32+ python -m pip install --upgrade pip
33+ pip install --upgrade platformio
1834 - name : Deploy updated JSON
1935 env :
2036 TRAVIS_BUILD_DIR : ${{ github.workspace }}
2642 curl -L -o package_rp2040_index.json "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/download/$TAG/package_rp2040_index.json"
2743 ./package/update_release.py --token ${CI_GITHUB_API_KEY} --repo "$GITHUB_REPOSITORY" --tag global package_rp2040_index.json
2844 # Upload to Platform.IO
29- apt-get install -y python3-pip
30- pip3 install platformio
3145 curl -LO $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/download/$TAG/rp2040-$TAG.zip
3246 pio package publish rp2040-$TAG.zip --non-interactive
You can’t perform that action at this time.
0 commit comments