From f5e58796b8db8e15146ac6fc2881493d8a981aa7 Mon Sep 17 00:00:00 2001 From: Alexander Krupenkin Date: Thu, 4 Mar 2021 06:03:52 +0300 Subject: [PATCH] [CI] upload artifacts --- .github/workflows/integration.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index d141077d93..043345a57b 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -7,7 +7,10 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] + os: [ubuntu-18.04, macOS-latest, windows-latest] + + env: + EXE_EXT: ${{ contains(matrix.os, 'windows') && '.exe' || '' }} steps: - name: Install LLVM (windows only) @@ -33,6 +36,12 @@ jobs: - name: Build optimized binary run: cargo build --release --locked + - name: Upload build artifacts + uses: actions/upload-artifact@master + with: + name: ${{ matrix.os }} + path: target/release/plasm${{ env.EXE_EXT }} + nix: runs-on: ubuntu-latest steps: