diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-03 20:53:12 +0400 |
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-03 20:53:12 +0400 |
| commit | f15877d544818fd4c6009433299acff6df993e8d (patch) | |
| tree | f4c2848d3c6f7331434f33b0c4faaf9acf199f72 /.github/workflows | |
| parent | 4053b78fb805be88fef84b3eb220a75f540014a2 (diff) | |
remove -lcrypto for macos
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 849267d..74522df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,12 +55,12 @@ jobs: - name: Move artifacts run: | mkdir -p artifacts - cp target/release/{cache,gateway,webhook,ratelimit}* ./artifacts + cp target/release/{cache,gateway,webhook,ratelimit} ./artifacts cp exes/all/build/all ./artifacts/nova - uses: actions/upload-artifact@v3 with: - name: artifacts + name: macos path: artifacts/* build_windows: @@ -92,12 +92,12 @@ jobs: - name: Move artifacts run: | mkdir -p artifacts - cp target/release/{cache,gateway,webhook,ratelimit}* ./artifacts - cp exes/all/build/all ./artifacts/nova + cp target/release/{cache,gateway,webhook,ratelimit}.exe ./artifacts + cp exes/all/build/all ./artifacts/nova.exe - uses: actions/upload-artifact@v3 with: - name: artifacts + name: windows path: artifacts/* build_linux: @@ -125,15 +125,16 @@ jobs: - name: All in one run: | cd exes/all + export CGO_LDFLAGS='-lcrypto' make build - name: Move artifacts run: | mkdir -p artifacts - cp target/release/{cache,gateway,webhook,ratelimit}* ./artifacts + cp target/release/{cache,gateway,webhook,ratelimit} ./artifacts cp exes/all/build/all ./artifacts/nova - uses: actions/upload-artifact@v3 with: - name: artifacts + name: linux_glibc path: artifacts/* |
