Remove workflows #158
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: Merge | |
on: | |
push: | |
branches: master | |
jobs: | |
nugets: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.x | |
- name: Set execution permissions for build.ps1 | |
run: chmod +x build.ps1 | |
working-directory: src | |
- name: Find Latest Tag | |
id: find | |
uses: oprypin/[email protected] | |
with: | |
repository: ${{ github.repository }} | |
releases-only: true | |
- name: Build | |
run: pwsh build.ps1 -configuration Release -version ${{ steps.find.outputs.tag }} -build $GITHUB_RUN_NUMBER -versionSuffix "-preview" | |
working-directory: src | |
- name: Push NuGets | |
run: dotnet nuget push ".artifacts/packages/*.nupkg" -k ${{ secrets.NugetKey }} -s https://api.nuget.org/v3/index.json --skip-duplicate | |
working-directory: src |