summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-15 00:09:38 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-15 00:09:38 +0100
commit695cb5ad42275f9199bdd7c7aa6ab84312834ce3 (patch)
treec1ff6879d16ff961df79298214fe629f22d05b4c /.github
parentd13b67ff5150d898af093f403574cf8c4e672bcc (diff)
downloadiced-695cb5ad42275f9199bdd7c7aa6ab84312834ce3.tar.gz
iced-695cb5ad42275f9199bdd7c7aa6ab84312834ce3.tar.bz2
iced-695cb5ad42275f9199bdd7c7aa6ab84312834ce3.zip
Use different artifact name per platform
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