Skip to content

CI

CI #24

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
# see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
schedule:
# daily
- cron: "0 0 * * *"
jobs:
build_and_deploy:
env:
BASE_VERSION: 0.99.0
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: |
dotnet build Nethereum.sln -p:Configuration=Release
- name: Package and upload
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
git clone https://github.com/nblockchain/fsx
fsx\Tools\fsi.bat fsx\Tools\nugetPush.fsx $env:BASE_VERSION ${{secrets.NUGET_API_KEY}}