Skip to content

Commit

Permalink
discover environment
Browse files Browse the repository at this point in the history
  • Loading branch information
lamg committed Jan 10, 2024
1 parent 99e36d8 commit 5082180
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ jobs:
image: mcr.microsoft.com/dotnet/sdk:8.0

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: check environment
run: |
echo $PWD
ls
exit 1

- name: publish migtool
run: |
Expand All @@ -20,7 +26,7 @@ jobs:
dotnet publish -c Release
dotnet pack
dotnet nuget push nupkg/*.nupgk -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
working-directory: ./Cli
working-directory: ./migrate/migrate/Cli
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

Expand All @@ -31,6 +37,6 @@ jobs:
dotnet publish -c Release
dotnet pack
dotnet nuget push nupkg/*.nupgk -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json
working-directory: ./Lib
working-directory: ./migrate/migrate/Lib
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

0 comments on commit 5082180

Please sign in to comment.