Browse Source

Merge pull request #199 from dora-rs/update-release

Add daemon to the release archive
tags/v0.2.0-candidate
Philipp Oppermann GitHub 2 years ago
parent
commit
afcaa8650e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      .github/workflows/release.yml

+ 5
- 2
.github/workflows/release.yml View File

@@ -31,8 +31,9 @@ jobs:
- uses: r7kamura/rust-problem-matchers@v1.1.0

- name: "Build binaries"
timeout-minutes: 30
run: cargo build --release -p dora-runtime -p dora-coordinator -p dora-cli
timeout-minutes: 60
run: "cargo build --release -p dora-runtime
-p dora-coordinator -p dora-cli -p dora-daemon"

- name: "Create Archive (Unix)"
if: runner.os == 'Linux' || runner.os == 'macOS'
@@ -40,6 +41,7 @@ jobs:
mkdir archive
cp target/release/dora-runtime archive
cp target/release/dora-coordinator archive
cp target/release/dora-daemon archive
cp target/release/dora-cli archive/dora
cd archive
zip -r ../archive.zip .
@@ -52,6 +54,7 @@ jobs:
New-Item -Path archive -ItemType Directory
Copy-Item target/release/dora-runtime.exe -Destination archive
Copy-Item target/release/dora-coordinator.exe -Destination archive
Copy-Item target/release/dora-daemon.exe -Destination archive
Copy-Item target/release/dora-cli.exe -Destination archive/dora.exe
Compress-Archive -Path archive\* -DestinationPath archive.zip



Loading…
Cancel
Save