Skip to content

Commit

Permalink
fix: updated workflow without "."
Browse files Browse the repository at this point in the history
  • Loading branch information
robinaasan committed Dec 12, 2024
1 parent bed2e5e commit 24b0b5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
- name: Debugging
run: ls -R
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- name: build
working-directory: ./Equinor.SubSurfAppManagementMonitoringNuGet
working-directory: /Equinor.SubSurfAppManagementMonitoringNuGet
run: dotnet build --configuration Release
- name: Pack
working-directory: ./Equinor.SubSurfAppManagementMonitoringNuGet
working-directory: /Equinor.SubSurfAppManagementMonitoringNuGet
run: dotnet pack --configuration Release /p:Version=${VERSION} --output .
- name: Push
working-directory: ./Equinor.SubSurfAppManagementMonitoringNuGet
working-directory: /Equinor.SubSurfAppManagementMonitoringNuGet
run: dotnet nuget push Equinor.SubSurfAppManagementMonitoringNuGet.${VERSION}.nupkg --source https://nuget.pkg.github.com/equinor/index.json --api-key ${GITHUB_TOKEN}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 24b0b5c

Please sign in to comment.