Skip to content

Commit 203c144

Browse files
committed
chore: update deprecated apis in docgen action
1 parent dd31c9a commit 203c144

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docgen.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@ jobs:
2929
DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common gcc git curl wget make zlib1g-dev bzip2 libbz2-dev lzma lzma-dev libreadline-dev libsqlite3-dev libssl-dev libffi-dev doxygen pandoc
3030
git config --global --add safe.directory '*'
3131
- name: Set up Python 3.9.4
32-
uses: actions/setup-python@v2
32+
uses: actions/setup-python@v4
3333
with:
3434
python-version: 3.9.4
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3636
with:
3737
ref: ${{github.head_ref}}
3838
- name: Get HEAD SHA
3939
id: vars
40-
run: echo "::set-output name=sha::$(git rev-parse --short HEAD)"
40+
run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
4141
- name: Get Bazel version
4242
id: bazel_info
43-
run: echo "::set-output name=version::$(cat .bazelversion)"
43+
run: echo "version=$(cat .bazelversion)" >> $GITHUB_OUTPUT
4444
- name: Install Bazel
4545
run: |
4646
wget -q https://github.com/bazelbuild/bazel/releases/download/${{ steps.bazel_info.outputs.version }}/bazel-${{ steps.bazel_info.outputs.version }}-linux-x86_64 -O /usr/bin/bazel

0 commit comments

Comments
 (0)