Skip to content

Merge pull request #329 from drewbrokke/LPD-28297-TECHNICAL-TASK-v0-b… #276

Merge pull request #329 from drewbrokke/LPD-28297-TECHNICAL-TASK-v0-b…

Merge pull request #329 from drewbrokke/LPD-28297-TECHNICAL-TASK-v0-b… #276

Workflow file for this run

name: Publish
on:
push:
branches:
- master
paths-ignore:
- '*.commits'
- '*.markdown'
- '**/*.markdown'
env:
LC_ALL: en_US.UTF-8
jobs:
Publish:
if: (github.repository == 'liferay/liferay-blade-cli')
name: Publish
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up JDK8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build
env:
GITHUB_CI: "true"
LIFERAY_NEXUS_USERNAME: ${{ secrets.liferay_nexus_username }}
LIFERAY_NEXUS_PASSWORD: ${{ secrets.liferay_nexus_password }}
shell: bash
run: |
./publish.sh --remote