You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: release-prepare
-
- on:
- pull_request:
- branches:
- - master
- types: [ closed ]
-
- env:
- MYGET_API_TOKEN: ${{ SECRETS.MYGET_API_KEY }}
- GITHUB_TOKEN: ${{ SECRETS.RINNE_GITHUB_TOKEN }}
-
- jobs:
- build:
- if: contains(github.event.pull_request.labels.*.name, 'auto-release')
- runs-on: windows-latest
-
- steps:
- - uses: actions/checkout@v3
- - name: Setup .NET 6.0.x SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: 6.0.x
-
- - name: Check .NET info
- run: dotnet --info
-
- - name: Install dependencies
- run: dotnet restore
-
- - name: Build solution
- run: dotnet build -c Release --no-restore
-
- # run-semantic-release:
- # runs-on: ubuntu-latest
- # needs: build
-
- # steps:
- # - name: Checkout
- # uses: actions/checkout@v2
-
- # - name: Run semantic-release
- # run: |
- # export PATH=$PATH:$(yarn global bin)
- # yarn global add semantic-release@17.4.3
- # semantic-release
|