Skip to content

Commit

Permalink
recompile to fix scheduler url
Browse files Browse the repository at this point in the history
  • Loading branch information
kcking committed Sep 30, 2021
1 parent b3e268f commit 7fd8f4f
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
- name: Download brr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: 0.0.7
run: |
CURL="curl -s -H 'Authorization: Bearer ${GITHUB_TOKEN}' \
https://api.github.com/repos/buildrecall/brr/releases"; \
ASSET_ID=$(eval "$CURL/tags/$TAG" | jq .assets[0].id); \
eval "$CURL/assets/$ASSET_ID -LJOH 'Accept: application/octet-stream'"
sudo mv brr-$TAG-x86_64-unknown-linux-musl /usr/bin/brr
sudo chmod +x /usr/bin/brr
brr
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
# - name: Download brr
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TAG: 0.0.7
# run: |
# CURL="curl -s -H 'Authorization: Bearer ${GITHUB_TOKEN}' \
# https://api.github.com/repos/buildrecall/brr/releases"; \
# ASSET_ID=$(eval "$CURL/tags/$TAG" | jq .assets[0].id); \
# eval "$CURL/assets/$ASSET_ID -LJOH 'Accept: application/octet-stream'"
# sudo mv brr-$TAG-x86_64-unknown-linux-musl /usr/bin/brr
# sudo chmod +x /usr/bin/brr
# brr

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

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

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit 7fd8f4f

Please sign in to comment.