summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu <matthieu@matthieu-dev.xyz>2023-01-03 15:23:35 +0400
committerGitHub <noreply@github.com>2023-01-03 15:23:35 +0400
commit570a1097635168e64689531d5ec426f0c083a0c2 (patch)
tree1a42817b2721795ac7ccd8fa713f4376d09cedd0
parentcf52cb6a7e4053b3f83438e86f300cbfd06d4a46 (diff)
Update build.yml
-rw-r--r--.github/workflows/build.yml22
1 files 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/*