From 570a1097635168e64689531d5ec426f0c083a0c2 Mon Sep 17 00:00:00 2001 From: Matthieu Date: Tue, 3 Jan 2023 15:23:35 +0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30b118f..dd658fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,24 +63,24 @@ jobs: uses: ATiltedTree/setup-rust@v1 with: rust-version: stable - - uses: actions/setup-go@v3 - with: - go-version: '1.16.1' # The Go version to download (if necessary) and use. + - uses: actions/setup-go@v3 + with: + go-version: '1.16.1' # The Go version to download (if necessary) and use. - name: Build | Compile run: cargo build --release - name: Build | All in one - run: - - cd exes/all - - make build + run: | + cd exes/all + make build shell: bash - name: Finish | Prepare artifacts - run: - - mkdir -p artifacts - - cp target/release/{cache,gateway,webhook,ratelimit} ./artifacts - - cp exes/all/build/all ./artifacts + run: | + mkdir -p artifacts + cp target/release/{cache,gateway,webhook,ratelimit} ./artifacts + cp exes/all/build/all ./artifacts shell: bash - name: Finish | Archive build results uses: actions/upload-artifact@v3 with: name: artifacts - path: artifacts/* \ No newline at end of file + path: artifacts/* -- 2.39.5