diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index df34dfdb8..c055d113d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -49,12 +49,16 @@ jobs: | |||
49 | node-version: 12.x | 49 | node-version: 12.x |
50 | 50 | ||
51 | - name: Dist | 51 | - name: Dist |
52 | if: github.ref == 'refs/heads/release' | 52 | if: matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/release' |
53 | run: cargo xtask dist --version 0.2.$GITHUB_RUN_NUMBER --tag $(date --iso --utc) | 53 | run: cargo xtask dist --client --version 0.2.$GITHUB_RUN_NUMBER --tag $(date --iso --utc) |
54 | 54 | ||
55 | - name: Dist | 55 | - name: Dist |
56 | if: github.ref != 'refs/heads/release' | 56 | if: matrix.os == 'ubuntu-latest' && github.ref != 'refs/heads/release' |
57 | run: cargo xtask dist --version 0.3.$GITHUB_RUN_NUMBER-nightly --tag nightly | 57 | run: cargo xtask dist --client --version 0.3.$GITHUB_RUN_NUMBER-nightly --tag nightly |
58 | |||
59 | - name: Dist | ||
60 | if: matrix.os != 'ubuntu-latest' | ||
61 | run: cargo xtask dist | ||
58 | 62 | ||
59 | - name: Upload artifacts | 63 | - name: Upload artifacts |
60 | uses: actions/upload-artifact@v1 | 64 | uses: actions/upload-artifact@v1 |