Skip to content

Commit

Permalink
chore: add workflow for triggering AUI releases
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus committed Oct 8, 2024
1 parent b405537 commit a05e80c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/aui-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: release-aui

on: push

jobs:
release-aui:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [0.12.18]

steps:
- run: mkdir -p $HOME/.m2 && touch $HOME/.m2/settings.xml
- run: cp settings-example.xml $HOME/.m2/settings.xml
working-directory: third-party/projects/alloy-ui
- 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 && npm i -g gulp@^3.8.5
working-directory: third-party/projects/alloy-ui
- run: gulp init && gulp build
working-directory: third-party/projects/alloy-ui
- run: gulp maven-publish-snapshot
working-directory: third-party/projects/alloy-ui
15 changes: 15 additions & 0 deletions third-party/projects/alloy-ui/settings-example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>liferay-public-snapshots</id>
<username>YOUR_SSO_USERNAME</username>
<password>YOUR_SSO_PASSWORD</password>
</server>
<server>
<id>liferay-public-releases</id>
<username>YOUR_SSO_USERNAME</username>
<password>YOUR_SSO_PASSWORD</password>
</server>
</servers>
</settings>

0 comments on commit a05e80c

Please sign in to comment.