Skip to content

Commit ec8015b

Browse files
author
Simon Engledew
committed
Merge branch 'main' into simon-engledew/string-branches
2 parents 78b9d23 + e6174fc commit ec8015b

4 files changed

Lines changed: 25 additions & 3 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Check Expected Release Files
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- .github/workflows/check-expected-release-files.yml
7+
- src/defaults.json
8+
9+
jobs:
10+
check-expected-release-files:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout CodeQL Action
15+
uses: actions/checkout@v2
16+
- name: Check Expected Release Files
17+
run: |
18+
bundle_version="$(cat "./src/defaults.json" | jq -r ".bundleVersion")"
19+
set -x
20+
for expected_file in "codeql-bundle.tar.gz" "codeql-bundle-linux64.tar.gz" "codeql-bundle-osx64.tar.gz" "codeql-bundle-win64.tar.gz" "codeql-runner-linux" "codeql-runner-macos" "codeql-runner-win.exe"; do
21+
curl --location --fail --head --request GET "https://github.com/github/codeql-action/releases/download/$bundle_version/$expected_file" > /dev/null
22+
done

lib/actions-util.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)