File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Sandbox
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ tag :
7
+ type : string
8
+ description : Tag to release. Must already exist.
9
+ required : true
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ id-token : write
16
+ contents : read
17
+
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ with :
21
+ ref : ${{ inputs.tag }}
22
+
23
+ - name : Set up JDK 21
24
+ uses : actions/setup-java@v4
25
+ with :
26
+ java-version : ' 21'
27
+ distribution : ' temurin'
28
+
29
+ # - name: Build and deploy to Maven Central
30
+ # run: ./mvnw --batch-mode clean install -DskipTests
31
+
32
+
33
+ - name : Set up AWS Credentials
34
+ uses : aws-actions/configure-aws-credentials@v3
35
+ with :
36
+ role-to-assume : arn:aws:iam::786014483886:role/SDK_GHA
37
+ aws-region : us-west-1
38
+
39
+ - name : Copy API docs to S3
40
+ run : |
41
+ # echo xyzzy > test.txt
42
+ # aws s3 cp test.txt s3://docs.couchbase.com/sdk-api/couchbase-columnar-java-client-1.0.0/
43
+ aws s3 cp --dry-run --recursive --acl public-read couchbase-analytics-client/target/reports/apidocs s3://docs.couchbase.com/sdk-api/couchbase-analytics-java-client-1.0.0-SNAPSHOT
44
+ # run: aws s3 cp couchbase-analytics-client/target/reports/apidocs s3://docs.couchbase.com/sdk-api/couchbase-analytics-java-client
You can’t perform that action at this time.
0 commit comments