@@ -61,19 +61,10 @@ jobs:
61
61
command : build
62
62
args : --release --locked --target ${{ matrix.target }}
63
63
64
- - name : Strip release binary (linux and macos )
65
- if : matrix.build == 'x86_64-linux' || matrix.build == 'x86_64-macos'
64
+ - name : Strip release binary (linux)
65
+ if : matrix.build == 'x86_64-linux'
66
66
run : strip "target/${{ matrix.target }}/release/$BIN_NAME"
67
67
68
- - name : Strip release binary (arm)
69
- if : matrix.build == 'aarch64-linux'
70
- run : |
71
- docker run --rm -v \
72
- "$PWD/target:/target:Z" \
73
- rustembedded/cross:${{ matrix.target }} \
74
- aarch64-linux-gnu-strip \
75
- /target/${{ matrix.target }}/release/$BIN_NAME
76
-
77
68
- name : Build archive
78
69
shell : bash
79
70
run : |
@@ -156,43 +147,3 @@ jobs:
156
147
id : extract-version
157
148
run : |
158
149
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
159
-
160
- - uses : mislav/bump-homebrew-formula-action@v1
161
- with :
162
- formula-path : ${{env.PROJECT_NAME}}.rb
163
- homebrew-tap : ${{ env.BREW_TAP }}
164
- download-url : " https://github.com/${{ env.REPO_NAME }}/releases/download/${{ steps.extract-version.outputs.tag-name }}/${{env.PROJECT_NAME}}-${{ steps.extract-version.outputs.tag-name }}-x86_64-macos.tar.xz"
165
- commit-message : updating formula for ${{ env.PROJECT_NAME }}
166
- env :
167
- COMMITTER_TOKEN : ${{ secrets.COMMITTER_TOKEN }}
168
- #
169
- # you can use this initial file in your homebrew-tap if you don't have an initial formula:
170
- # <projectname>.rb
171
- #
172
- # class <Projectname capitalized> < Formula
173
- # desc "A test formula"
174
- # homepage "http://www.example.com"
175
- # url "-----"
176
- # version "-----"
177
- # sha256 "-----"
178
-
179
- # def install
180
- # bin.install "<bin-name>"
181
- # end
182
- # end
183
-
184
-
185
- # Uncomment this section if you want to release your package to crates.io
186
- # Before publishing, make sure you have filled out the following fields:
187
- # license or license-file, description, homepage, documentation, repository, readme.
188
- # Read more: https://doc.rust-lang.org/cargo/reference/publishing.html
189
-
190
- # - name: Install ${{ matrix.rust }} toolchain
191
- # uses: actions-rs/toolchain@v1
192
- # with:
193
- # profile: minimal
194
- # toolchain: ${{ matrix.rust }}
195
- # target: ${{ matrix.target }}
196
- # - run: cargo publish --token ${CRATES_TOKEN}
197
- # env:
198
- # CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
0 commit comments