From 336ed45701a79a7339ec508166081d058bb610b5 Mon Sep 17 00:00:00 2001 From: Mahdi Hosseini Date: Mon, 20 May 2024 10:04:07 +0330 Subject: [PATCH] Delete .github/workflows/bump-up-version.yml --- .github/workflows/bump-up-version.yml | 45 --------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/bump-up-version.yml diff --git a/.github/workflows/bump-up-version.yml b/.github/workflows/bump-up-version.yml deleted file mode 100644 index 512d4d28..00000000 --- a/.github/workflows/bump-up-version.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Bump up version - -on: - workflow_dispatch: - inputs: - pre_release: - description: 'is preview' - type: boolean - required: true - default: false - -jobs: - bump-up-version: - runs-on: windows-latest - steps: - - name: Checkout repo - uses: actions/checkout@master - with: - ref: ${{ github.head_ref }} - - - name: Setup .NET Core SDK - uses: actions/setup-dotnet@master - with: - dotnet-version: '8.0.x' - include-prerelease: true - - - name: Publish - working-directory: ./build - run: | - git config --local user.name "${{ github.actor }}" - git config --local user.email "836904362@qq.com" - dotnet new tool-manifest - dotnet tool install cake.tool --version 4.0.0 - dotnet tool install minver-cli --version 3.0.0 - dotnet cake --username="${{ github.actor }}" --email="836904362@qq.com" --pre-release=${{ inputs.pre_release }} - - - name: Push git changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }} - tags: true - - - name: Push to nuget - run: dotnet nuget push ./build/outputs/nuget/*nupkg -k ${{ secrets.NUGETTOKEN }}