Skip to content

Commit

Permalink
manual brr build
Browse files Browse the repository at this point in the history
  • Loading branch information
kcking committed Oct 12, 2021
1 parent daca366 commit f29ecdd
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,36 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Download brr
env:
TAG: 0.0.11
run: |
env
curl -L https://github.com/buildrecall/brr/releases/download/$TAG/brr-$TAG-x86_64-unknown-linux-musl -o /tmp/brr
sudo mv /tmp/brr /usr/bin/brr
sudo chmod +x /usr/bin/brr
brr
# - name: Download brr
# env:
# TAG: 0.0.11
# run: |
# env
# curl -L https://github.com/buildrecall/brr/releases/download/$TAG/brr-$TAG-x86_64-unknown-linux-musl -o /tmp/brr
# sudo mv /tmp/brr /usr/bin/brr
# sudo chmod +x /usr/bin/brr
# brr

- name: brr build
env:
BUILDRECALL_API_KEY: ${{ secrets.BUILDRECALL_API_KEY }}
run: |
brr run build musl
# - name: brr build
# env:
# BUILDRECALL_API_KEY: ${{ secrets.BUILDRECALL_API_KEY }}
# run: |
# brr run build musl

# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# - uses: actions-rs/cargo@v1
# with:
# command: build
# args: --release
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: target/release/brr
file: target/x86_64-unknown-linux-musl/release/brr
file: target/release/brr
# file: target/x86_64-unknown-linux-musl/release/brr
asset_name: brr-$tag-x86_64-unknown-linux-musl
tag: ${{ github.ref }}
overwrite: true
Expand Down

0 comments on commit f29ecdd

Please sign in to comment.