@@ -43,18 +43,25 @@ inputs:
4343runs :
4444 using : ' composite'
4545 steps :
46+ - name : Symlink current Actions repo
47+ env :
48+ GH_ACTION_DIR : ${{ github.workspace }}/../../_actions/${{ github.action_repository }}/${{ github.action_ref }}/
49+ GH_ACTION_CLONE : ${{ github.workspace }}/../../_actions/current
50+ shell : bash
51+ run : ln -fs $GH_ACTION_DIR $GH_ACTION_CLONE
52+
4653 - name : Authenticate
4754 id : auth
48- uses : protocolbuffers/protobuf-ci/ internal/gcloud-auth@v1
55+ uses : ./../../_actions/current/ internal/gcloud-auth
4956 with :
5057 credentials : ${{ inputs.credentials }}
5158
5259 - name : Setup Runner
53- uses : protocolbuffers/protobuf-ci/ internal/setup-runner@v1
60+ uses : ./../../_actions/current/ internal/setup-runner
5461
5562 - name : Setup Bazel
5663 id : bazel
57- uses : protocolbuffers/protobuf-ci/ internal/bazel-setup@v1
64+ uses : ./../../_actions/current/ internal/bazel-setup
5865 with :
5966 credentials-file : /workspace/$(basename ${{ steps.auth.outputs.credentials-file }})
6067 bazel-cache : ${{ inputs.bazel-cache }}
@@ -69,15 +76,15 @@ runs:
6976 run : echo "Invalid specification of both non-Bazel and Bazel command"; exit 1
7077
7178 - name : Run Bash Docker
72- uses : protocolbuffers/protobuf-ci/ internal/docker-run@v1
79+ uses : ./../../_actions/current/ internal/docker-run
7380 if : ${{ inputs.bash }}
7481 with :
7582 image : ${{ inputs.image }}
7683 run-flags : --entrypoint "/bin/bash"
7784 command : -l -c "${{ inputs.bash }}"
7885
7986 - name : Run Bazel Docker
80- uses : protocolbuffers/protobuf-ci/ internal/docker-run@v1
87+ uses : ./../../_actions/current/ internal/docker-run
8188 if : ${{ !inputs.bash }}
8289 with :
8390 image : ${{ inputs.image }}
8693 - name : Save Bazel repository cache
8794 # Only allow repository cache updates during post-submits.
8895 if : ${{ github.event_name != 'pull_request' && github.event_name != 'pull_request_target' }}
89- uses : protocolbuffers/protobuf-ci/ internal/repository-cache-save@v1
96+ uses : ./../../_actions/current/ internal/repository-cache-save
0 commit comments