keep bumping FCS - disable analyzers SDK because it has a strict depe… #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and pack nightly | |
on: | |
push: | |
branches: | |
- nightly | |
env: | |
BuildNet7: true | |
jobs: | |
pack-nightly: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get date for version | |
id: date | |
run: echo "::set-output name=date::$(date +'%Y%m%d%H%M')" | |
# setup .NET per the repo global.json | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Run Build | |
run: dotnet pack -c Release -o bin | |
env: | |
VersionSuffix: "beta${{ steps.date.outputs.date }}" | |
BuildNet7: ${{ env.BuildNet7 }} | |
- name: Push packages | |
run: dotnet nuget push bin/fsautocomplete.*.nupkg --source https://nuget.pkg.github.com/fsharp/index.json --api-key ${{ secrets.GITHUB_TOKEN }} |