-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from gustawdaniel/10-error-decoding-response-b…
…ody-missing-field-id-at-line-8-column-1 implementation of backoff after 429 Too Many Requests [RFC6585]
- Loading branch information
Showing
6 changed files
with
817 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,58 +5,6 @@ on: | |
types: [ created ] | ||
|
||
jobs: | ||
release-archives: | ||
name: release ${{ matrix.target }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
# - target: wasm32-wasi | ||
# archive: tar.gz | ||
# - target: x86_64-pc-windows-gnu | ||
# archive: zip | ||
- target: x86_64-unknown-linux-musl | ||
archive: tar.gz tar.xz tar.zst | ||
- target: x86_64-apple-darwin | ||
archive: zip | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Setup Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
profile: minimal | ||
components: rustfmt, clippy | ||
override: true | ||
|
||
- name: Install clipboard deps | ||
run: | | ||
if [[ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]]; then | ||
sudo apt update | ||
sudo apt install -y xorg-dev libxcb-composite0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev | ||
elif [[ "${{ matrix.target }}" == "x86_64-apple-darwin" ]]; then | ||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bash_profile | ||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | ||
brew install xcb-proto libxcb | ||
else | ||
echo "Unknown target: ${{ matrix.target }}" | ||
exit 1 | ||
fi | ||
- name: Compile | ||
id: compile | ||
uses: rust-build/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
with: | ||
RUSTTARGET: ${{ matrix.target }} | ||
EXTRA_FILES: "README.md LICENSE" | ||
ARCHIVE_TYPES: ${{ matrix.archive }} | ||
TOOLCHAIN_VERSION: nightly | ||
|
||
release-binary: | ||
permissions: | ||
contents: write | ||
|
Oops, something went wrong.