File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,17 @@ jobs:
77
77
run : |
78
78
echo '${{ secrets.GCP_SA_KEY }}' > sa_key.json
79
79
echo "SA_EMAIL=$(jq -r .client_email sa_key.json)" >> $GITHUB_ENV
80
- echo "SA_KEY=$(jq -r .private_key sa_key.json)" >> $GITHUB_ENV
80
+ echo "SA_KEY=$(jq -r .private_key sa_key.json | base64 -w 0 )" >> $GITHUB_ENV
81
81
shell : bash
82
82
83
83
- name : Upload CSV to Spreadsheet
84
84
if : success()
85
- uses : canonical-web-and-design/csv-to-google-spreadsheet@1.0.0
85
+ uses : canonical-web-and-design/csv-to-google-spreadsheet@main
86
86
with :
87
87
csv_path : public/merged.csv
88
88
spreadsheet_id : ${{ secrets.GOOGLE_SHEET_ID }}
89
89
worksheet : 0
90
90
google_service_account_email : ${{ env.SA_EMAIL }}
91
91
google_service_account_private_key : ${{ env.SA_KEY }}
92
+ env :
93
+ PRIVATE_KEY_DECODER : base64 -d
You can’t perform that action at this time.
0 commit comments