GeezerVison is showing github.com — Simply print the Swift extractor dir · github/codeql-action@8531eee
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/__export-file-baseline-information.yml +3-3Lines changed: 3 additions & 3 deletions Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/__multi-language-autodetect.yml +4-4Lines changed: 4 additions & 4 deletions Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/__swift-autobuild.yml +3-3Lines changed: 3 additions & 3 deletions Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/__swift-custom-build.yml +3-3Lines changed: 3 additions & 3 deletions Collapse file
Copy file name to clipboardExpand all lines: pr-checks/checks/export-file-baseline-information.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
19 | 19 | env: |
20 | 20 | CODEQL_PATH: ${{steps.init.outputs.codeql-path}} |
21 | 21 | run: | |
22 | | - SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json) |
23 | | - $SWIFT_EXTRACTOR_DIR/tools/*/extractor --version | awk '/version/ { print $3 }' |
24 | | - echo "version=$VERSION" | tee -a $GITHUB_OUTPUT |
| 22 | + echo $("$CODEQL_PATH" resolve languages --format json) |
| 23 | + SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json | jq '.swift.[0]') |
| 24 | + echo "$SWIFT_EXTRACTOR_DIR" |
25 | 25 | - uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723 |
26 | 26 | if: runner.os != 'Windows' |
27 | 27 | with: |
|
Collapse file
Copy file name to clipboardExpand all lines: pr-checks/checks/multi-language-autodetect.yml +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,10 +16,10 @@ steps: |
16 | 16 | env: |
17 | 17 | CODEQL_PATH: ${{steps.init.outputs.codeql-path}} |
18 | 18 | run: | |
19 | | - SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json) |
20 | | - $SWIFT_EXTRACTOR_DIR/tools/*/extractor --version | awk '/version/ { print $3 }' |
21 | | - echo "version=$VERSION" | tee -a $GITHUB_OUTPUT |
22 | | - |
| 19 | + echo $("$CODEQL_PATH" resolve languages --format json) |
| 20 | + SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json | jq '.swift.[0]') |
| 21 | + echo "$SWIFT_EXTRACTOR_DIR" |
| 22 | + |
23 | 23 | - uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723 |
24 | 24 | with: |
25 | 25 | swift-version: "${{steps.get_swift_version.outputs.version}}" |
|
Collapse file
Copy file name to clipboardExpand all lines: pr-checks/checks/swift-autobuild.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
17 | 17 | env: |
18 | 18 | CODEQL_PATH: ${{steps.init.outputs.codeql-path}} |
19 | 19 | run: | |
20 | | - SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json) |
21 | | - $SWIFT_EXTRACTOR_DIR/tools/*/extractor --version | awk '/version/ { print $3 }' |
22 | | - echo "version=$VERSION" | tee -a $GITHUB_OUTPUT |
| 20 | + echo $("$CODEQL_PATH" resolve languages --format json) |
| 21 | + SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json | jq '.swift.[0]') |
| 22 | + echo "$SWIFT_EXTRACTOR_DIR" |
23 | 23 | - uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723 |
24 | 24 | with: |
25 | 25 | swift-version: "${{steps.get_swift_version.outputs.version}}" |
|
Collapse file
Copy file name to clipboardExpand all lines: pr-checks/checks/swift-custom-build.yml +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
17 | 17 | env: |
18 | 18 | CODEQL_PATH: ${{steps.init.outputs.codeql-path}} |
19 | 19 | run: | |
20 | | - SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json) |
21 | | - $SWIFT_EXTRACTOR_DIR/tools/*/extractor --version | awk '/version/ { print $3 }' |
22 | | - echo "version=$VERSION" | tee -a $GITHUB_OUTPUT |
| 20 | + echo $("$CODEQL_PATH" resolve languages --format json) |
| 21 | + SWIFT_EXTRACTOR_DIR=$("$CODEQL_PATH" resolve languages --format json | jq '.swift.[0]') |
| 22 | + echo "$SWIFT_EXTRACTOR_DIR" |
23 | 23 | - uses: swift-actions/setup-swift@194625b58a582570f61cc707c3b558086c26b723 |
24 | 24 | with: |
25 | 25 | swift-version: "${{steps.get_swift_version.outputs.version}}" |
|