summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml16
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 640924c9..7620a674 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -22,15 +22,21 @@ jobs:
- name: Build todos example
run: |
cargo build --verbose --release --example todos
- - name: Archive todos binary
+ - name: Archive todos binary (Windows)
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v1
with:
- name: todos
+ name: todos-windows
path: target/release/examples/todos.exe
- - name: Archive todos binary
- if: matrix.os != 'windows-latest'
+ - name: Archive todos binary (Linux)
+ if: matrix.os == 'linux-latest'
uses: actions/upload-artifact@v1
with:
- name: todos
+ name: todos-linux
+ path: target/release/examples/todos
+ - name: Archive todos binary (macOS)
+ if: matrix.os == 'macOS-latest'
+ uses: actions/upload-artifact@v1
+ with:
+ name: todos-macos
path: target/release/examples/todos