66 steps :
77
88 - name : Inject slug/short variables
9- uses : rlespinasse/github-slug-action@v3.x
9+ uses : rlespinasse/github-slug-action@v4
1010
1111 - name : Checkout
12- uses : actions/checkout@v2
12+ uses : actions/checkout@v3
1313
1414 - name : Set up Python
1515 uses : actions/setup-python@v4
1616 with :
1717 python-version : ' 3.10'
1818
1919 - name : Cache pip
20- uses : actions/cache@v2
20+ uses : actions/cache@v3
2121 with :
2222 path : ~/.cache/pip
2323 key : ${{ runner.os }}-pip-${{ matrix.target }}
2929 pip install wheel
3030
3131 - name : Cache PlatformIO
32- uses : actions/cache@v2
32+ uses : actions/cache@v3
3333 with :
3434 path : ~/.platformio
3535 key : ${{ runner.os }}-platformio
4545 runs-on : ubuntu-latest
4646 steps :
4747 - name : Checkout
48- uses : actions/checkout@v2
48+ uses : actions/checkout@v3
4949 - name : Set up Python
5050 uses : actions/setup-python@v4
5151 with :
6161 targets : ${{ steps.set-targets.outputs.targets }}
6262 steps :
6363 - name : Checkout
64- uses : actions/checkout@v2
64+ uses : actions/checkout@v3
6565 - id : set-targets
66- run : echo "::set-output name= targets:: [$( (grep " \[env:.*UART\]" src/targets/unified.ini ; grep -r " \[env:.*STLINK\]" src/targets/) | sed 's/.*://' | sed s/.$// | egrep "(STLINK|UART)" | grep -v DEPRECATED | tr '\n' ',' | sed 's/,$/"\n/' | sed 's/,/","/'g | sed 's/^/"/')]"
66+ run : echo "targets= [$( (grep ' \[env:.*UART\]' src/targets/unified.ini ; grep -r ' \[env:.*STLINK\]' src/targets/) | sed 's/.*://' | sed s/.$// | egrep "(STLINK|UART)" | grep -v DEPRECATED | tr '\n' ',' | sed 's/,$/"\n/' | sed 's/,/","/'g | sed 's/^/"/')]" >> $GITHUB_OUTPUT
6767
6868 build :
6969 needs : targets
@@ -75,18 +75,18 @@ jobs:
7575 steps :
7676
7777 - name : Inject slug/short variables
78- uses : rlespinasse/github-slug-action@v3.x
78+ uses : rlespinasse/github-slug-action@v4
7979
8080 - name : Checkout
81- uses : actions/checkout@v2
81+ uses : actions/checkout@v3
8282
8383 - name : Set up Python
8484 uses : actions/setup-python@v4
8585 with :
8686 python-version : ' 3.10'
8787
8888 - name : Cache pip
89- uses : actions/cache@v2
89+ uses : actions/cache@v3
9090 with :
9191 path : ~/.cache/pip
9292 key : ${{ runner.os }}-pip-${{ matrix.target }}
9898 pip install wheel
9999
100100 - name : Cache PlatformIO
101- uses : actions/cache@v2
101+ uses : actions/cache@v3
102102 with :
103103 path : ~/.platformio
104104 key : ${{ runner.os }}-platformio
@@ -138,7 +138,7 @@ jobs:
138138 fi
139139
140140 - name : Store Artifacts
141- uses : actions/upload-artifact@v2-preview
141+ uses : actions/upload-artifact@v3
142142 with :
143143 name : firmware
144144 path : ~/artifacts/**/*
@@ -149,7 +149,7 @@ jobs:
149149 runs-on : ubuntu-latest
150150 steps :
151151 - name : Checkout code
152- uses : actions/checkout@v2
152+ uses : actions/checkout@v3
153153
154154 - name : Get firmware artifacts
155155 uses : actions/download-artifact@v3
@@ -164,7 +164,7 @@ jobs:
164164 run : cd src ; find bootloader -name \*.bin -o -name \*.frk | grep -v src/ | cpio -pdm ../dist/firmware
165165
166166 - name : Update firmware artifact
167- uses : actions/upload-artifact@v2
167+ uses : actions/upload-artifact@v3
168168 with :
169169 name : firmware
170170 path : dist/**/*
@@ -177,7 +177,7 @@ jobs:
177177 os : [windows-latest, ubuntu-latest, macos-latest]
178178 runs-on : ${{ matrix.os }}
179179 steps :
180- - uses : actions/checkout@v2
180+ - uses : actions/checkout@v3
181181 - uses : actions/setup-python@v4
182182 with :
183183 python-version : 3.7
@@ -186,7 +186,7 @@ jobs:
186186 - run : pip install pyinstaller
187187 - run : pyinstaller -F src/python/binary_configurator.py -n installer-${{ matrix.os }}
188188
189- - uses : actions/upload-artifact@v2
189+ - uses : actions/upload-artifact@v3
190190 with :
191191 name : installer
192192 path : dist/*
0 commit comments