Skip to content

Commit

Permalink
release api on nuget 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
asv-soft-u05 committed Jul 2, 2024
1 parent 4c1679f commit ff1e79a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ApiReleaseDeployAction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Publish Api NuGet
on:
push:
tags:
- "api-v*"
- "nuget-api-v*"

env:
NUGET_SOURCE_URL: 'https://api.nuget.org/v3/index.json'
Expand All @@ -14,7 +14,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/api-v')
if: startsWith(github.ref, 'refs/tags/nuget-api-v')
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set version variable
env:
TAG: ${{ github.ref_name }}
run: echo "VERSION=${TAG#api-v}" >> $GITHUB_ENV
run: echo "VERSION=${TAG#nuget-api-v}" >> $GITHUB_ENV

- name: Read version from Directory.Build.props
id: read-version
Expand Down

0 comments on commit ff1e79a

Please sign in to comment.