Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

56 lines (44 sloc) 1.41 KB
name: Build release candidate
env:
OUTPUT_PATH: ${{ github.workspace }}/.nupkg
DOTNET_VERSION: "3.1.100"
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Dotnet ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore dotnet tools
run: dotnet tool restore
- name: Generate packages
run: dotnet fake run ./build.fsx --target Release
- name: Set Version
run: dotnet fake run ./build.fsx --target SetVersionForCI
- name: Create version file
run: echo ${{ env.package_version }} >> ${{ env.OUTPUT_PATH }}/version.txt
- name: Publish release packages
uses: actions/upload-artifact@v1
with:
name: packages
path: ${{ env.OUTPUT_PATH }}
- name: Prepare create release issue action
uses: actions/setup-node@v1
with:
node-version: "12.x"
- name: Building Action
run: npm i && npm run build
working-directory: ./.github/actions/create-issue
- name: Create Release Issue
uses: ./.github/actions/create-issue
with:
token: ${{ secrets.GITHUB_TOKEN }}
action-id: ${{ github.run_id }}
package-version: ${{ env.package_version }}
You can’t perform that action at this time.