Skip to content

move to actions

move to actions #5

Workflow file for this run

name: public/Azure.AAD.fs
on:
push:
branches:
- master
- "refs/tags/*"
pull_request:
branches:
- master
env:
BUILD_NUMBER: "${{ github.run_number }}"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- uses: actions/[email protected]
with:
dotnet-version: 8.0.100
- name: Restore tools
run: dotnet tool restore
- name: Build
run: dotnet fsi build.fsx -t ci
if: ${{ !startsWith(github.ref, 'refs/tags') }}
- name: Build and publish
env:
NUGET_REPO_KEY: "${{ secrets.NUGET_REPO_KEY }}"
NUGET_REPO_URL: "${{ vars.NUGET_REPO_URL }}"
run: dotnet fsi build.fsx -t release
if: ${{ startsWith(github.ref, 'refs/tags') }}