Skip to content

Commit 6eec87b

Browse files
committed
Update ci.yml
1 parent 587d1fe commit 6eec87b

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -28,35 +28,6 @@ jobs:
2828
persist-credentials: true
2929
fetch-depth: 0
3030

31-
- name: Install Database SDK
32-
id: install-db-sdk
33-
run: |
34-
sudo apt-get update
35-
sudo apt-get install apt-transport-https ca-certificates gnupg curl
36-
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
37-
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
38-
sudo apt-get update && sudo apt-get install google-cloud-cli
39-
40-
# Create a directory to cache the SDK installation
41-
mkdir -p ~/.google-cloud-sdk
42-
cp -r /usr/lib/google-cloud-sdk/* ~/.google-cloud-sdk/
43-
echo "sdk-path=$(realpath ~/.google-cloud-sdk)" >> $GITHUB_OUTPUT
44-
45-
- name: Cache Database SDK
46-
uses: actions/cache@v3
47-
with:
48-
path: ~/.google-cloud-sdk
49-
key: ${{ runner.os }}-google-cloud-sdk-${{ hashFiles('**/google-cloud-sdk/**') }}
50-
restore-keys: |
51-
${{ runner.os }}-google-cloud-sdk-
52-
53-
- name: Upload Build Scripts
54-
uses: actions/upload-artifact@v4
55-
with:
56-
name: build-scripts
57-
path: scripts/build/
58-
retention-days: 1
59-
6031
- name: Discover submodules
6132
id: discover-submodules
6233
run: |
@@ -156,7 +127,7 @@ jobs:
156127
with:
157128
aws-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
158129
aws-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
159-
aws-region: auto
130+
aws-region: us-east-1
160131

161132
- name: Upload files to R2
162133
run: |

0 commit comments

Comments
 (0)