File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Generate api bindings
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ permissions :
7
+ contents : read
8
+
9
+ jobs :
10
+ download :
11
+ name : Download internal.json from bitwarden/server
12
+
13
+ runs-on : ubuntu-24.04
14
+
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18
+
19
+ - name : Download internal.json artifact
20
+ uses : bitwarden/gh-actions/download-artifacts@main
21
+ with :
22
+ github_token : ${{ secrets.GITHUB_TOKEN }}
23
+ repo : bitwarden/server
24
+ branch : main
25
+ artifacts : (internal|identity).json
26
+ path : artifacts/
27
+ name_is_regexp : true
28
+
29
+ - name : List downloaded files
30
+ run : |
31
+ echo "Downloaded files:"
32
+ find artifacts/ -type f -name "*.json" | head -10
33
+ if [ -f "artifacts/internal.json" ]; then
34
+ echo "internal.json file size: $(stat -c%s artifacts/internal.json) bytes"
35
+ fi
You can’t perform that action at this time.
0 commit comments