Skip to content

Commit 6c26806

Browse files
Use versioning for internal references
1 parent 7723be5 commit 6c26806

7 files changed

Lines changed: 18 additions & 18 deletions

File tree

bash/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ runs:
2727
using: 'composite'
2828
steps:
2929
- name: Setup Runner
30-
uses: ./internal/setup-runner
30+
uses: protocolbuffers/protobuf-ci/internal/setup-runner@v1
3131

3232
- name: Update stale files using Bazel
33-
uses: ./bazel
33+
uses: protocolbuffers/protobuf-ci/bazel@v1
3434
with:
3535
credentials: ${{ inputs.credentials }}
3636
bazel-cache: regenerate-stale-files

bazel-docker/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ runs:
4545
steps:
4646
- name: Authenticate
4747
id: auth
48-
uses: ./internal/gcloud-auth
48+
uses: protocolbuffers/protobuf-ci/internal/gcloud-auth@v1
4949
with:
5050
credentials: ${{ inputs.credentials }}
5151

5252
- name: Setup Runner
53-
uses: ./internal/setup-runner
53+
uses: protocolbuffers/protobuf-ci/internal/setup-runner@v1
5454

5555
- name: Setup Bazel
5656
id: bazel
57-
uses: ./internal/bazel-setup
57+
uses: protocolbuffers/protobuf-ci/internal/bazel-setup@v1
5858
with:
5959
credentials-file: /workspace/$(basename ${{ steps.auth.outputs.credentials-file }})
6060
bazel-cache: ${{ inputs.bazel-cache }}
@@ -69,15 +69,15 @@ runs:
6969
run: echo "Invalid specification of both non-Bazel and Bazel command"; exit 1
7070

7171
- name: Run Bash Docker
72-
uses: ./internal/docker-run
72+
uses: protocolbuffers/protobuf-ci/internal/docker-run@v1
7373
if: ${{ inputs.bash }}
7474
with:
7575
image: ${{ inputs.image }}
7676
run-flags: --entrypoint "/bin/bash"
7777
command: -l -c "${{ inputs.bash }}"
7878

7979
- name: Run Bazel Docker
80-
uses: ./internal/docker-run
80+
uses: protocolbuffers/protobuf-ci/internal/docker-run@v1
8181
if: ${{ !inputs.bash }}
8282
with:
8383
image: ${{ inputs.image }}
@@ -86,4 +86,4 @@ runs:
8686
- name: Save Bazel repository cache
8787
# Only allow repository cache updates during post-submits.
8888
if: ${{ github.event_name != 'pull_request' && github.event_name != 'pull_request_target' }}
89-
uses: ./internal/repository-cache-save
89+
uses: protocolbuffers/protobuf-ci/internal/repository-cache-save@v1

bazel/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ runs:
4747
steps:
4848
- name: Authenticate
4949
id: auth
50-
uses: ./internal/gcloud-auth
50+
uses: protocolbuffers/protobuf-ci/internal/gcloud-auth@v1
5151
with:
5252
credentials: ${{ inputs.credentials }}
5353

5454
- name: Setup Runner
55-
uses: ./internal/setup-runner
55+
uses: protocolbuffers/protobuf-ci/internal/setup-runner@v1
5656

5757
- name: Setup Bazel
5858
id: bazel
59-
uses: ./internal/bazel-setup
59+
uses: protocolbuffers/protobuf-ci/internal/bazel-setup@v1
6060
with:
6161
credentials-file: ${{ steps.auth.outputs.credentials-file }}
6262
bazel-cache: ${{ inputs.bazel-cache }}
@@ -145,4 +145,4 @@ runs:
145145
- name: Save Bazel repository cache
146146
# Only allow repository cache updates during post-submits.
147147
if: ${{ github.event_name != 'pull_request' && github.event_name != 'pull_request_target'}}
148-
uses: ./internal/repository-cache-save
148+
uses: protocolbuffers/protobuf-ci/internal/repository-cache-save@v1

ccache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runs:
4040
4141
- name: Setup ccache on Windows
4242
if: ${{ runner.os == 'Windows' }}
43-
uses: ./internal/ccache-setup-windows
43+
uses: protocolbuffers/protobuf-ci/internal/ccache-setup-windows@v1
4444
- name: Setup ccache on Mac
4545
if: ${{ runner.os == 'macOS' }}
4646
shell: bash

cross-compile-protoc/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
using: 'composite'
3333
steps:
3434
- name: Cross compile protoc for ${{ inputs.architecture }}
35-
uses: ./bazel-docker
35+
uses: protocolbuffers/protobuf-ci/bazel-docker@v1
3636
with:
3737
credentials: ${{ inputs.credentials }}
3838
bazel-cache: xcompile-protoc/${{ inputs.architecture }}

docker/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ runs:
4040
using: 'composite'
4141
steps:
4242
- name: Setup Runner
43-
uses: ./internal/setup-runner
43+
uses: protocolbuffers/protobuf-ci/internal/setup-runner@v1
4444

4545
- name: Update stale files using Bazel
4646
if: ${{ !inputs.skip-staleness-check }}
47-
uses: ./bazel-docker
47+
uses: protocolbuffers/protobuf-ci/bazel-docker@v1
4848
with:
4949
image: us-docker.pkg.dev/protobuf-build/containers/common/linux/bazel:5.1.1-aec4d74f2eb6938fc53ef7d9a79a4bf2da24abc1
5050
credentials: ${{ inputs.credentials }}
@@ -57,7 +57,7 @@ runs:
5757
run: echo "DOCKER_RUN_FLAGS=--platform ${{inputs.platform}}" >> $GITHUB_ENV
5858

5959
- name: Run Docker
60-
uses: ./internal/docker-run
60+
uses: protocolbuffers/protobuf-ci/internal/docker-run@v1
6161
with:
6262
image: ${{ inputs.image }}
6363
command: ${{ inputs.command }}

internal/bazel-setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ runs:
8484
echo "bazel-startup-flags=$BAZEL_STARTUP_FLAGS" >> $GITHUB_OUTPUT
8585
8686
- name: Restore Bazel repository cache
87-
uses: ./internal/repository-cache-restore
87+
uses: protocolbuffers/protobuf-ci/internal/repository-cache-restore@v1
8888
with:
8989
bazel-cache: ${{ inputs.bazel-cache }}

0 commit comments

Comments
 (0)