-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (40 loc) · 1.54 KB
/
aui-snapshot-release.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
name: Snapshot AUI release to Maven
on: workflow_dispatch
jobs:
aui-release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [0.12.18]
steps:
- name: maven-settings-xml-action
uses: s4u/[email protected]
with:
servers: |
[{
"id": "liferay-public-snapshots",
"username": "${{ secrets.MAVEN_USERNAME }}",
"password": "${{ secrets.MAVEN_PASSWORD }}"
}]
- uses: actions/checkout@v4
with:
repository: liferay/liferay-frontend-projects
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i
working-directory: third-party/projects/alloy-ui
- run: npm i -g gulp@^3.8.5
working-directory: third-party/projects/alloy-ui
- run: gulp init
working-directory: third-party/projects/alloy-ui
- run: gulp build
working-directory: third-party/projects/alloy-ui
- run: gulp maven-publish-snapshot
working-directory: third-party/projects/alloy-ui
- name: Cache AUI Build
uses: actions/cache@v3
with:
key: ${{github.run_id}}-build
path: third-party/projects/alloy-ui/build