@@ -20,13 +20,13 @@ jobs:
2020 runs-on : ubuntu-latest
2121 environment : Docs
2222 steps :
23- - uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
23+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424 with :
2525 fetch-depth : 0
2626 - name : Set up Python
27- uses : actions/setup-python@v4
27+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2828 with :
29- python-version : " 3.8 "
29+ python-version : " 3.12 "
3030 - name : Capture branch and tag
3131 id : branch_name
3232 run : |
@@ -35,10 +35,11 @@ jobs:
3535 - name : Build docs website
3636 run : make build-docs-website
3737 - name : Configure AWS credentials
38- uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
38+ uses : aws-actions/configure-aws-credentials@4fc4975a852c8cd99761e2de1f4ba73402e44dd9 # v4.0.3
3939 with :
4040 aws-region : us-east-1
4141 role-to-assume : ${{ secrets.AWS_DOCS_ROLE_ARN }}
42+ mask-aws-account-id : true
4243 - name : Deploy Docs
4344 run : |
4445 aws s3 sync \
@@ -52,20 +53,23 @@ jobs:
5253 runs-on : ubuntu-latest
5354 environment : Docs
5455 steps :
55- - uses : actions/checkout@v3
56- - name : Setup .NET 6 .0
57- uses : actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
56+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57+ - name : Setup .NET 8 .0
58+ uses : actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # 4.3.0
5859 with :
59- dotnet-version : 6.0.405
60- - uses : nikeee/docfx-action@b9c2cf92e3b4aa06878a1410833a8828b4bdcd26 # 1.0.0
61- name : Build Documentation
62- with :
63- args : apidocs/docfx.json
60+ dotnet-version : ' 8.x'
61+
62+ - name : Build Api Docs
63+ run : |
64+ dotnet tool install -g docfx
65+ docfx apidocs/docfx.json
66+
6467 - name : Configure AWS credentials
65- uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
68+ uses : aws-actions/configure-aws-credentials@4fc4975a852c8cd99761e2de1f4ba73402e44dd9 # v4.0.3
6669 with :
6770 aws-region : us-east-1
6871 role-to-assume : ${{ secrets.AWS_DOCS_ROLE_ARN }}
72+ mask-aws-account-id : true
6973 - name : Deploy Docs
7074 run : |
7175 aws s3 sync \
0 commit comments