From d783ea4aa3ba3a902dbb433476a15bc808f6d96f Mon Sep 17 00:00:00 2001 From: Kirill Kovalev <125643929+kirill-abblix@users.noreply.github.com> Date: Thu, 28 Mar 2024 11:13:35 +0300 Subject: [PATCH] Actions updated to latest versions --- .github/workflows/ci-cd.yml | 2 +- .github/workflows/versioning.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index d20eff4f..1588e71b 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -24,5 +24,5 @@ jobs: - name: Pack run: dotnet pack --no-build -c Release -o nupkg - name: Push to NuGet - run: dotnet nuget push "**/*.nupkg" -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicates + run: dotnet nuget push "**/*.nupkg" -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate if: github.ref == 'refs/heads/master' diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml index 57ef434d..604d39bb 100644 --- a/.github/workflows/versioning.yml +++ b/.github/workflows/versioning.yml @@ -9,12 +9,12 @@ jobs: versioning: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # This is important to fetch all tags and history - name: Bump version and push tag - uses: mathieudutour/github-tag-action@v5.6 + uses: mathieudutour/github-tag-action@v6.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} default_bump: patch # Automatically bump patch version