File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -33,26 +33,11 @@ jobs:
3333 - name : Checkout branch
3434 uses : actions/checkout@v4
3535
36- - name : Resolve inputs.ref to full SHA
37- # https://github.com/actions/checkout/issues/265#issuecomment-1936792528
38- id : resolve-ref
39- run : |
40- apt-get update -y && apt-get install -y jq
41-
42- ref=${{ matrix.ctru-rs-ref }}
43- sha=$(curl -L "https://api.github.com/repos/rust3ds/ctru-rs/commits/$ref" | jq -r .sha)
44- if [ -z "$sha" ]; then
45- echo "Failed to resolve ref $ref (possibly missing GH_TOKEN env var?)" >&2
46- exit 1
47- fi
48-
49- echo "sha=$sha" >> $GITHUB_OUTPUT
50-
5136 - uses : actions/checkout@v4
5237 with :
5338 repository : ' rust3ds/ctru-rs'
5439 path : ' ctru-rs'
55- ref : ${{ steps.resolve- ref.outputs.sha }}
40+ ref : ${{ matrix.ctru-rs- ref }}
5641
5742 - uses : ./setup
5843 with :
You can’t perform that action at this time.
0 commit comments