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 349f02b
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/aui-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: release-aui

on: push

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

strategy:
matrix:
node-version: [0.12.18]

steps:
- run: |
mkdir ~/.m2 |
cp ./settings-example.xml ~/.m2/settings.xml |
sed -i 's/YOUR_SSO_USERNAME/FOOOOOO/g' ~/.m2/settings.xml
sed -i 's/YOUR_SSO_PASSWORD/BARRRR/g' ~/.m2/settings.xml
- 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 349f02b

Please sign in to comment.