Skip to content

Commit

Permalink
ci: Pass github.workspace to reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
surpher committed Apr 26, 2024
1 parent 78c196e commit e8be6b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
binaries-path: ${{ needs.sharedInputs.outputs.binaries-path }}
cache-key: ${{ needs.sharedInputs.outputs.cache-key }}
cache-restore-key: ${{ needs.sharedInputs.outputs.cache-restore-key }}
workspace: ${{ github.workspace }}

testMacOS13:
name: "🤖 Unit tests"
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test_macos14_arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
cache-restore-key:
required: true
type: string
workspace:
required: true
type: string
secrets:
codecov_token:
required: true
Expand Down Expand Up @@ -70,8 +73,8 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.codecov_token }}
file: ".build/artifacts/${{ env.SCHEME }}-TestResultBundle.xcresult"
directory: ".build/artifacts"
file: "${{ inputs.workspace }}/${{ env.SCHEME }}-TestResultBundle.xcresult"
directory: ".build/artifactsgit "
fail_ci_if_error: true
flags: unittests
name: PactSwiftMockServer
Expand Down

0 comments on commit e8be6b1

Please sign in to comment.