-
Notifications
You must be signed in to change notification settings - Fork 29
68 lines (68 loc) · 2.96 KB
/
publishMaster.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Publish Master
on:
push:
branches:
- master
jobs:
build-and-publish:
name: Build and Publish Master
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3.5.2
- name: Setup Java
uses: actions/setup-java@v3.10.0
with:
distribution: zulu
java-version: 17
- name: Build the lib
run: ./gradlew :remote-robot:build
- name: Build robot-server-core
run: ./gradlew :robot-server-core:build
- name: Build the plugin
env:
SNAPSHOT: "true"
run: ./gradlew :robot-server-plugin:buildPlugin
- name: Publish the plugin
env:
SPACE_INTERNAL_ACTOR: ${{ secrets.SPACE_INTERNAL_ACTOR }}
SPACE_INTERNAL_TOKEN: ${{ secrets.SPACE_INTERNAL_TOKEN }}
SNAPSHOT: "true"
run: ./gradlew :robot-server-plugin:publishRobotServerPluginPublicationToSpaceInternalRepository
- name: Publish the plugin jars
env:
SPACE_INTERNAL_ACTOR: ${{ secrets.SPACE_INTERNAL_ACTOR }}
SPACE_INTERNAL_TOKEN: ${{ secrets.SPACE_INTERNAL_TOKEN }}
RUN_NUMBER: ${{ github.run_number }}
SNAPSHOT: "true"
run: ./gradlew :robot-server-plugin:publishRobotServerJarPublicationToSpaceInternalRepository
- name: Publish robot-server-core
env:
SPACE_INTERNAL_ACTOR: ${{ secrets.SPACE_INTERNAL_ACTOR }}
SPACE_INTERNAL_TOKEN: ${{ secrets.SPACE_INTERNAL_TOKEN }}
RUN_NUMBER: ${{ github.run_number }}
run: ./gradlew :robot-server-core:publishRobotServerCoreJarPublicationToSpaceInternalRepository
- name: Publish test-recorder
env:
SPACE_INTERNAL_ACTOR: ${{ secrets.SPACE_INTERNAL_ACTOR }}
SPACE_INTERNAL_TOKEN: ${{ secrets.SPACE_INTERNAL_TOKEN }}
RUN_NUMBER: ${{ github.run_number }}
run: ./gradlew :test-recorder:publishTestRecorderJarPublicationToSpaceInternalRepository
- name: Publish the remote-robot lib
env:
SPACE_INTERNAL_ACTOR: ${{ secrets.SPACE_INTERNAL_ACTOR }}
SPACE_INTERNAL_TOKEN: ${{ secrets.SPACE_INTERNAL_TOKEN }}
RUN_NUMBER: ${{ github.run_number }}
run: ./gradlew :remote-robot:publishRemoteRobotPublicationToSpaceInternalRepository
- name: Publish the remote-fixtures lib
env:
SPACE_INTERNAL_ACTOR: ${{ secrets.SPACE_INTERNAL_ACTOR }}
SPACE_INTERNAL_TOKEN: ${{ secrets.SPACE_INTERNAL_TOKEN }}
RUN_NUMBER: ${{ github.run_number }}
run: ./gradlew :remote-fixtures:apiCheck :remote-fixtures:publishRemoteFixturesPublicationToSpaceInternalRepository
- name: Publish the ide-launcher lib
env:
SPACE_INTERNAL_ACTOR: ${{ secrets.SPACE_INTERNAL_ACTOR }}
SPACE_INTERNAL_TOKEN: ${{ secrets.SPACE_INTERNAL_TOKEN }}
RUN_NUMBER: ${{ github.run_number }}
run: ./gradlew :ide-launcher:publishIdeLauncherPublicationToSpaceInternalRepository