Skip to content

Snapshot AUI release to Maven #6

Snapshot AUI release to Maven

Snapshot AUI release to Maven #6

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 $HOME/liferay-frontend-projects
env:
GH_TOKEN: ${{ secrets.PAT }}
- run: cat $HOME/liferay-frontend-projects/README.md
- 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: $HOME/liferay-frontend-projects/third-party/projects/alloy-ui
- run: npm i -g gulp@^3.8.5
working-directory: $HOME/liferay-frontend-projects/third-party/projects/alloy-ui
- run: gulp init
working-directory: $HOME/liferay-frontend-projects/third-party/projects/alloy-ui
- run: gulp build
working-directory: $HOME/liferay-frontend-projects/third-party/projects/alloy-ui
- run: gulp maven-publish-snapshot
working-directory: $HOME/liferay-frontend-projects/third-party/projects/alloy-ui