From a6be7b548c34cbf0bb8c15f7f029bbb59c2015bc Mon Sep 17 00:00:00 2001 From: buj Date: Mon, 26 Aug 2024 02:30:57 +0700 Subject: [PATCH] Github inlines multiline strings who knew? --- .github/workflows/publish.yml | 48 +++++++++++++++++------------------ README.md | 6 ++++- 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d58acd5..6854a37 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,51 +28,51 @@ jobs: run: rm -fr target/github-release && mkdir -p target/github-release - name: Build for x86_64-unknown-linux-gnu - run: rustup target add x86_64-unknown-linux-gnu - cargo build --verbose --release --target x86_64-unknown-linux-gnu - cp target/x86_64-unknown-linux-gnu/release/discord-backup-util \ + run: rustup target add x86_64-unknown-linux-gnu && + cargo build --verbose --release --target x86_64-unknown-linux-gnu && + cp target/x86_64-unknown-linux-gnu/release/discord-backup-util target/github-release/discord-backup-util.x86_64-unknown-linux-gnu - name: Build for x86_64-unknown-linux-gnu - run: rustup target add x86_64-unknown-linux-musl - cargo build --verbose --release --target x86_64-unknown-linux-musl - cp target/x86_64-unknown-linux-musl/release/discord-backup-util \ + run: rustup target add x86_64-unknown-linux-musl && + cargo build --verbose --release --target x86_64-unknown-linux-musl && + cp target/x86_64-unknown-linux-musl/release/discord-backup-util target/github-release/discord-backup-util.x86_64-unknown-linux-musl - name: Build for i586-unknown-linux-gnu - run: rustup target add i586-unknown-linux-gnu - cargo build --verbose --release --target i586-unknown-linux-gnu --no-default-features --features minreq - cp target/i586-unknown-linux-gnu/release/discord-backup-util \ + run: rustup target add i586-unknown-linux-gnu && + cargo build --verbose --release --target i586-unknown-linux-gnu --no-default-features --features minreq && + cp target/i586-unknown-linux-gnu/release/discord-backup-util target/github-release/discord-backup-util.i586-unknown-linux-gnu - name: Build for i686-unknown-linux-gnu - run: rustup target add i686-unknown-linux-gnu - cargo build --verbose --release --target i686-unknown-linux-gnu - cp target/i686-unknown-linux-gnu/release/discord-backup-util \ + run: rustup target add i686-unknown-linux-gnu && + cargo build --verbose --release --target i686-unknown-linux-gnu && + cp target/i686-unknown-linux-gnu/release/discord-backup-util target/github-release/discord-backup-util.i686-unknown-linux-gnu - name: Build for x86_64-pc-windows-gnu - run: rustup target add x86_64-pc-windows-gnu - cargo build --verbose --release --target x86_64-pc-windows-gnu - cp target/x86_64-pc-windows-gnu/release/discord-backup-util.exe \ + run: rustup target add x86_64-pc-windows-gnu && + cargo build --verbose --release --target x86_64-pc-windows-gnu && + cp target/x86_64-pc-windows-gnu/release/discord-backup-util.exe target/github-release/discord-backup-util.x86_64-pc-windows-gnu.exe - name: Build for x86_64-pc-windows-msvc - run: rustup target add x86_64-pc-windows-msvc - cargo xwin build --verbose --release --target x86_64-pc-windows-msvc - cp target/x86_64-pc-windows-msvc/release/discord-backup-util.exe \ + run: rustup target add x86_64-pc-windows-msvc && + cargo xwin build --verbose --release --target x86_64-pc-windows-msvc && + cp target/x86_64-pc-windows-msvc/release/discord-backup-util.exe target/github-release/discord-backup-util.x86_64-pc-windows-msvc.exe - name: Build for x86_64-pc-windows-gnu - run: rustup target add x86_64-pc-windows-gnu - cargo build --verbose --release --target x86_64-pc-windows-gnu - cp target/x86_64-pc-windows-gnu/release/discord-backup-util.exe \ + run: rustup target add x86_64-pc-windows-gnu && + cargo build --verbose --release --target x86_64-pc-windows-gnu && + cp target/x86_64-pc-windows-gnu/release/discord-backup-util.exe target/github-release/discord-backup-util.x86_64-pc-windows-gnu.exe - name: Build for i686-pc-windows-gnu - run: rustup target add i686-pc-windows-gnu - cargo build --verbose --release --target i686-pc-windows-gnu - cp target/i686-pc-windows-gnu/release/discord-backup-util.exe \ + run: rustup target add i686-pc-windows-gnu && + cargo build --verbose --release --target i686-pc-windows-gnu && + cp target/i686-pc-windows-gnu/release/discord-backup-util.exe target/github-release/discord-backup-util.i686-pc-windows-gnu.exe - uses: 5GameMaker/crate-version@c1672654ea26c815a187066de39d91d97e174685 diff --git a/README.md b/README.md index 594e63e..f02e3de 100644 --- a/README.md +++ b/README.md @@ -34,4 +34,8 @@ We never needed to use this on Windows, so we don't guarantee that any Windows b ## Features policy -If a feature is not too insane, feel free to submit a [feature request](https://github.com/5GameMaker/discord-backup-util/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=feature%3A+This+one%21). +If a feature is not too insane, feel free to submit a [feature request](https://github.com/5GameMaker/discord-backup-util/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=feature%3A+This+one%21). If you can actually work on a feautre, fork this repo and then submit a PR, although it'd be nice to open a FR first to see if your work is going to be accepted into the project. + +## Contributing + +Submit all PRs to `master` branch. PRs to `stable` will not be accepted.