File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 9
9
- main
10
10
paths-ignore :
11
11
- ' */fit/**'
12
+ - ' .github/workflows/sandbox.yml'
12
13
13
14
jobs :
14
15
build :
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
+ # - uses: aws-actions/configure-aws-credentials@v4
24
+ # with:
25
+ # aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
26
+ # aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
27
+ # aws-region: us-east-1
28
+
29
+ # - name: Verify the ref is actually a tag
30
+ # run: git tag --list | grep --line-regexp ${{ inputs.tag }}
31
+
32
+ - name : Set up JDK 21
33
+ uses : actions/setup-java@v4
34
+ with :
35
+ java-version : ' 21'
36
+ distribution : ' temurin'
37
+
38
+ # - name: Build and deploy to Maven Central
39
+ # run: ./mvnw --batch-mode clean install -DskipTests
40
+
41
+
42
+ - name : Set up AWS Credentials
43
+ uses : aws-actions/configure-aws-credentials@v3
44
+ with :
45
+ role-to-assume : arn:aws:iam::786014483886:role/SDK_GHA
46
+ aws-region : us-west-1
47
+
48
+ - name : Copy API docs to S3
49
+ run : aws s3 ls s3://docs.couchbase.com/sdk-api
50
+ # run: aws sts get-caller-identity
51
+
52
+ # run: aws s3 cp couchbase-analytics-client/target/reports/apidocs s3://docs.couchbase.com/sdk-api/couchbase-analytics-java-client
53
+
54
+
You can’t perform that action at this time.
0 commit comments