Skip to content

Commit 734d033

Browse files
committed
add ca in build actions
1 parent 7d9cede commit 734d033

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/build-debug.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
restore-keys: |
4141
${{ runner.os }}-go-
4242
43+
- name: Update CA
44+
run: |
45+
sudo apt-get update && sudo apt-get install ca-certificates
46+
sudo update-ca-certificates
47+
cp -f /etc/ssl/certs/ca-certificates.crt core/src/foss/golang/clash/component/ca/ca-certificates.crt
48+
4349
# - name: Signing properties
4450
# env:
4551
# SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}

.github/workflows/build-pre-release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ jobs:
3838
restore-keys: |
3939
${{ runner.os }}-go-
4040
41+
- name: Update CA
42+
run: |
43+
sudo apt-get update && sudo apt-get install ca-certificates
44+
sudo update-ca-certificates
45+
cp -f /etc/ssl/certs/ca-certificates.crt core/src/foss/golang/clash/component/ca/ca-certificates.crt
46+
4147
- name: Signing properties
4248
env:
4349
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}

.github/workflows/build-release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ jobs:
7777
git push --follow-tags
7878
fi
7979
80+
- name: Update CA
81+
run: |
82+
sudo apt-get update && sudo apt-get install ca-certificates
83+
sudo update-ca-certificates
84+
cp -f /etc/ssl/certs/ca-certificates.crt core/src/foss/golang/clash/component/ca/ca-certificates.crt
85+
8086
- name: Signing properties
8187
env:
8288
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}

0 commit comments

Comments
 (0)