Author: Manos Pitsidianakis [manos@pitsidianak.is]
Hash: 6aeabd2c7f1cf1a958d88f48cb7d7c57038c6a41
Timestamp: Sat, 29 Apr 2023 09:40:50 +0000 (1 year ago)

+6 -4 +/-1 browse
CI: Fix release build workflow
1diff --git a/.github/workflows/builds.yaml b/.github/workflows/builds.yaml
2index ab7ed08..6fac6f4 100644
3--- a/.github/workflows/builds.yaml
4+++ b/.github/workflows/builds.yaml
5 @@ -63,13 +63,15 @@ jobs:
6 EOF
7 - name: Build binary
8 run: |
9- cargo build --release --bin mpot --bin mpot-gen -p mailpot-cli -p mpot-archives
10- mv target/*/release/mailpot target/mailpot || true
11- mv target/release/mailpot target/mailpot || true
12+ cargo build --release --bin mpot --bin mpot-gen --bin mpot-web -p mailpot-cli -p mailpot-archives -p mailpot-web
13+ mkdir artifacts
14+ mv target/*/release/* target/ || true
15+ mv target/release/* target/ || true
16+ mv target/mpot target/mpot-web target/mpot-gen artifacts/
17 - name: Upload Artifacts
18 uses: actions/upload-artifact@v2
19 with:
20 name: ${{ matrix.artifact_name }}
21- path: target/mailpot
22+ path: artifacts
23 if-no-files-found: error
24 retention-days: 7