Skip to content

Commit 4460e20

Browse files
committed
Remove macos-specific actions.
1 parent 389c853 commit 4460e20

File tree

1 file changed

+2
-51
lines changed

1 file changed

+2
-51
lines changed

.github/workflows/release.yml

+2-51
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,10 @@ jobs:
6161
command: build
6262
args: --release --locked --target ${{ matrix.target }}
6363

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'
6666
run: strip "target/${{ matrix.target }}/release/$BIN_NAME"
6767

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-
7768
- name: Build archive
7869
shell: bash
7970
run: |
@@ -156,43 +147,3 @@ jobs:
156147
id: extract-version
157148
run: |
158149
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

Comments
 (0)