Skip to content

Update README.rst

Update README.rst #134

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- uses: alaviss/setup-nim@0.1.1
with:
path: 'nim'
version: devel
- uses: actions/cache@v3.1.0-beta.1
with:
path: |
../../../../.nimble/pkgs/
key: ${{ runner.os }}-nim-${{ hashFiles('**/nimble.lock') }}
- name: Install dependacies
if: steps.cache.outputs.cache-hit != 'false'
run: nimble install -d -y --deepcopy:on
- name: Build
run: nimble build -d:release -d:ssl --verbose
- name: Cache
- uses: actions/upload-artifact@v2
if: ${{ matrix.os != 'windows-latest' }}
with:
name: dye-${{ matrix.os }}
path: dye
- uses: actions/upload-artifact@v2
if: ${{ matrix.os == 'windows-latest' }}
with:
name: dye-${{ matrix.os }}
path: dye.exe