Skip to content

Commit

Permalink
Simply print the Swift extractor dir
Browse files Browse the repository at this point in the history
  • Loading branch information
angelapwen committed Dec 16, 2022
1 parent bf101af commit 8531eee
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/__export-file-baseline-information.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .github/workflows/__multi-language-autodetect.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .github/workflows/__swift-autobuild.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .github/workflows/__swift-custom-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pr-checks/checks/export-file-baseline-information.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ steps:
env:
CODEQL_PATH: ${{steps.init.outputs.codeql-path}}
run: |
SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json)
$SWIFT_EXTRACTOR_DIR/tools/*/extractor --version | awk '/version/ { print $3 }'
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT
echo $("$CODEQL_PATH" resolve languages --format json)
SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json | jq '.swift.[0]')
echo "$SWIFT_EXTRACTOR_DIR"
- uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723
if: runner.os != 'Windows'
with:
Expand Down
8 changes: 4 additions & 4 deletions pr-checks/checks/multi-language-autodetect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ steps:
env:
CODEQL_PATH: ${{steps.init.outputs.codeql-path}}
run: |
SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json)
$SWIFT_EXTRACTOR_DIR/tools/*/extractor --version | awk '/version/ { print $3 }'
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT
echo $("$CODEQL_PATH" resolve languages --format json)
SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json | jq '.swift.[0]')
echo "$SWIFT_EXTRACTOR_DIR"
- uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723
with:
swift-version: "${{steps.get_swift_version.outputs.version}}"
Expand Down
6 changes: 3 additions & 3 deletions pr-checks/checks/swift-autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ steps:
env:
CODEQL_PATH: ${{steps.init.outputs.codeql-path}}
run: |
SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json)
$SWIFT_EXTRACTOR_DIR/tools/*/extractor --version | awk '/version/ { print $3 }'
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT
echo $("$CODEQL_PATH" resolve languages --format json)
SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json | jq '.swift.[0]')
echo "$SWIFT_EXTRACTOR_DIR"
- uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723
with:
swift-version: "${{steps.get_swift_version.outputs.version}}"
Expand Down
6 changes: 3 additions & 3 deletions pr-checks/checks/swift-custom-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ steps:
env:
CODEQL_PATH: ${{steps.init.outputs.codeql-path}}
run: |
SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json)
$SWIFT_EXTRACTOR_DIR/tools/*/extractor --version | awk '/version/ { print $3 }'
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT
echo $("$CODEQL_PATH" resolve languages --format json)
SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json | jq '.swift.[0]')
echo "$SWIFT_EXTRACTOR_DIR"
- uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723
with:
swift-version: "${{steps.get_swift_version.outputs.version}}"
Expand Down

0 comments on commit 8531eee

Please sign in to comment.