This repository was archived by the owner on Dec 21, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 6767 VERBOSE : true
6868 run : cd opengb && deno task test:registry
6969
70+ - name : Upload Meta
71+ uses : actions/upload-artifact@v4
72+ with :
73+ name : meta
74+ path : opengb-modules/tests/basic/.opengb/meta.json
75+
76+ upload-meta :
77+ runs-on : ubuntu-20.04
78+ needs : [test-core, test-project, test-modules]
79+ steps :
80+ - name : Checkout
81+ uses : actions/checkout@v2
82+
83+ - name : Install Deno
84+ uses : denoland/setup-deno@v1
85+ with :
86+ deno-version : " 1.44.1"
87+
88+ - name : Read registry ref from JSON
89+ id : read-ref
90+ run : echo "OPENGB_MODULES_REF=$(jq -r '.' opengb/src/project/registry_default_rev.json)" >> $GITHUB_ENV
91+
92+ - name : Download Artifact
93+ uses : actions/download-artifact@v4
94+ with :
95+ name : meta
96+
97+ - name : Configure AWS
98+ uses : aws-actions/configure-aws-credentials@v4
99+ with :
100+ aws-access-key-id : ${{ secrets.CF_ACCESS_KEY_ID }}
101+ aws-secret-access-key : ${{ secrets.CF_SECRET_ACCESS_KEY }}
102+ aws-region : auto
103+
104+ - name : Upload Meta
105+ run : aws s3api put-object --bucket opengb-meta --key backend/$OPENGB_MODULES_REF/index.json --body meta.json
You can’t perform that action at this time.
0 commit comments