Skip to content

Commit

Permalink
ci(gh-actions): specify working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Jul 17, 2024
1 parent 512beff commit ae5c7cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,17 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: 9
run_install: true
run_install: |
recursive: true
cwd: "@planetarium"
- name: Build Lib9c.Tools
run: dotnet build .Lib9c.Tools/Lib9c.Tools.csproj
- run: pnpm -r build
working-directory: "@planetarium/lib9c"
- run: pnpm -r fmt:ci
working-directory: "@planetarium/lib9c"
- run: pnpm -r test
working-directory: "@planetarium/lib9c"

release:
if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
jsr:
uses: planetarium/.github/.github/workflows/publish_jsr.yaml@7da1714cbc9554aa17a19bc6477b8b067f714ea7
uses: planetarium/.github/.github/workflows/publish_jsr.yaml@34a5632831962232ffed9d4f4a5fc3de77ef5231
with:
workspace_directory: "@planetarium"
working_directory: "@planetarium/lib9c"
pnpm_version: "9"

0 comments on commit ae5c7cc

Please sign in to comment.