forked from w3c/ldp-testsuite
-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (35 loc) · 1012 Bytes
/
cd-config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: GitHub CD
on:
push:
branches:
- main
tags:
- ldp-testsuite-[0-9]+.[0-9]+.[0-9]+
jobs:
build:
name: Build environment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 8
- name: Build with Maven
run: mvn -B -ntp install -Dgpg.skip -Dmaven.javadoc.skip
- name: Create staging directory
run: mkdir -p ldp
- name: Move shaded jar file
run: mv target/ldp-testsuite-*-shaded.jar ldp/ldp-testsuite.jar
- name: Sync to AWS S3
uses: jakejarvis/[email protected]
with:
args: --acl public-read
env:
AWS_S3_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
SOURCE_DIR: "ldp"
DEST_DIR: "ldp"