]> git.puffer.fish Git - matthieu/nova.git/commitdiff
Update build.yml
authorMatthieu <matthieu@matthieu-dev.xyz>
Tue, 3 Jan 2023 11:23:35 +0000 (15:23 +0400)
committerGitHub <noreply@github.com>
Tue, 3 Jan 2023 11:23:35 +0000 (15:23 +0400)
.github/workflows/build.yml

index 30b118f91fd1af8dc9b833a061ca0b3aeb530e62..dd658fd7977bdfa0f97938a2995ab56bc4c882a8 100644 (file)
@@ -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/*