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

on: push

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

strategy:
matrix:
node-version: [0.12.18]

steps:
- name: maven-settings-xml-action
uses: s4u/[email protected]
with:
servers: |
[{
"id": "liferay-public-snapshots",
"username": "${{ secrets.MAVEN_USERNAME }}",
"password": "${{ secrets.MAVEN_PASSWORD }}"
}]
- run: cat $HOME/.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 2d5917f

Please sign in to comment.