Skip to content

Commit 6c63e07

Browse files
committed
Fix failing GH action and remove build for RaspberryPi
1 parent 224baf9 commit 6c63e07

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/rust.yaml

+3-12
Original file line numberDiff line numberDiff line change
@@ -127,19 +127,14 @@ jobs:
127127
command: build
128128

129129
- release_for: macOS-x86_64
130-
os: macOS-latest
130+
os:
131+
- self-hosted
132+
- Darwin
131133
target: x86_64-apple-darwin
132134
bin: ${{ needs.release.outputs.bin-name }}
133135
name: ${{ needs.release.outputs.pkg-name }}-Darwin-x86_64.tar.gz
134136
command: build
135137

136-
- release_for: RaspberryPi
137-
os: ubuntu-20.04
138-
target: arm-unknown-linux-gnueabihf
139-
bin: ${{ needs.release.outputs.bin-name }}
140-
name: ${{ needs.release.outputs.pkg-name }}-RaspberryPi.tar.gz
141-
command: build
142-
143138
name: Upload asset for ${{ matrix.platform.release_for }}
144139
runs-on: ${{ matrix.platform.os }}
145140
permissions:
@@ -157,7 +152,6 @@ jobs:
157152
printf '*%.0s' {1..60} && printf "\n"
158153
echo "Updated rust version: $(rustc --version)"
159154
printf '*%.0s' {1..60} && printf "\n"
160-
shell: bash
161155
162156
- name: Install OpenSSL static for Windows
163157
# https://github.com/sfackler/rust-openssl/issues/1086
@@ -170,7 +164,6 @@ jobs:
170164
echo ("vcpkg_dir=" + $pwd) >> $env:GITHUB_ENV
171165
.\bootstrap-vcpkg.bat
172166
.\vcpkg.exe install openssl:x64-windows-static
173-
shell: bash
174167
175168
- name: Build
176169
run: |
@@ -189,15 +182,13 @@ jobs:
189182
mkdir -p ${{ needs.release.outputs.pkg-name }}
190183
cp target/release/${{ matrix.platform.bin }} ${{ needs.release.outputs.pkg-name }}/${{ matrix.platform.bin }}
191184
Compress-Archive -DestinationPath ${{ matrix.platform.name }} -Path ${{ needs.release.outputs.pkg-name }}/
192-
shell: pwsh
193185
194186
- name: Copy Artifacts (macOS/Ubuntu)
195187
if: ${{ matrix.platform.os != 'windows-latest' }}
196188
run: |
197189
mkdir -p ${{ needs.release.outputs.pkg-name }}
198190
cp target/release/${{ matrix.platform.bin }} ${{ needs.release.outputs.pkg-name }}/${{ matrix.platform.bin }}
199191
tar -zcvf ${{ matrix.platform.name }} ${{ needs.release.outputs.pkg-name }}/
200-
shell: bash
201192
202193
- name: Upload Asset to Release
203194
run: |

0 commit comments

Comments
 (0)