-
Notifications
You must be signed in to change notification settings - Fork 3
41 lines (37 loc) · 1.55 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
name: Official AUI release to Maven
on: workflow_dispatch
jobs:
aui-release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [0.12.18]
steps:
- name: Clone AUI
run: gh repo clone liferay/liferay-frontend-projects
env:
GH_TOKEN: ${{ secrets.PAT }}
- 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
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i
working-directory: liferay-frontend-projects/third-party/projects/alloy-ui
- run: npm i -g gulp@^3.8.5
working-directory: liferay-frontend-projects/third-party/projects/alloy-ui
- run: gulp init
working-directory: liferay-frontend-projects/third-party/projects/alloy-ui
- run: gulp build
working-directory: liferay-frontend-projects/third-party/projects/alloy-ui
- run: gulp maven-publish-snapshot
working-directory: liferay-frontend-projects/third-party/projects/alloy-ui