We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d01344 commit 3d3d4c9Copy full SHA for 3d3d4c9
.github/workflows/upstream-sysroot.yml
@@ -29,13 +29,11 @@ jobs:
29
run: |
30
if [ -n "${{ github.event.inputs.current-sha }}" ]; then
31
CURRENT_SHA="${{ github.event.inputs.current-sha }}"
32
+ elif [ -f current-sha.json ]; then
33
+ CURRENT_SHA=$(jq -r '.sha' current-sha.json)
34
else
- if [ -f current-sha.json ]; then
- CURRENT_SHA=$(jq -r '.sha' current-sha.json)
35
- else
36
- echo "No current SHA provided and current-sha.json not found."
37
- exit 1
38
- fi
+ echo "No current SHA provided and current-sha.json not found."
+ exit 1
39
fi
40
echo "CURRENT_SHA=${CURRENT_SHA}" >> $GITHUB_ENV
41
- name: Fetch latest upstream SHA
0 commit comments