Skip to content

Commit 393800e

Browse files
committed
Move create-extractor-pack Action
1 parent c815178 commit 393800e

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/actions/fetch-codeql/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ runs:
99
LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | grep -v beta | sort --version-sort | tail -1)
1010
gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
1111
unzip -q codeql-linux64.zip
12+
echo "${{ github.workspace }}/codeql" >> $GITHUB_PATH
1213
env:
1314
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/dataset_measure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- uses: ./.github/actions/fetch-codeql
3131

32-
- uses: ./.github/actions/create-extractor-pack
32+
- uses: ./ruby/actions/create-extractor-pack
3333

3434
- name: Checkout ${{ matrix.repo }}
3535
uses: actions/checkout@v2

.github/workflows/qltest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v2
2121
- uses: ./.github/actions/fetch-codeql
22-
- uses: ./.github/actions/create-extractor-pack
22+
- uses: ./ruby/actions/create-extractor-pack
2323
- name: Run QL tests
2424
run: |
2525
codeql/codeql pack install ql/test

.github/actions/create-extractor-pack/action.yml renamed to ruby/actions/create-extractor-pack/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ runs:
88
path: |
99
~/.cargo/registry
1010
~/.cargo/git
11-
target
12-
key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('**/Cargo.lock') }}
11+
ruby/target
12+
key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('ruby/**/Cargo.lock') }}
1313
- name: Build Extractor
1414
shell: bash
15-
run: env "PATH=$PATH:${{ github.workspace }}/codeql" scripts/create-extractor-pack.sh
15+
run: scripts/create-extractor-pack.sh
16+
working-directory: ruby

0 commit comments

Comments
 (0)