Snapshot AUI release to Maven #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |