Skip to content

Merge pull request #3 from ChihuyuNetwork/renovate/actions-checkout-4.x #7

Merge pull request #3 from ChihuyuNetwork/renovate/actions-checkout-4.x

Merge pull request #3 from ChihuyuNetwork/renovate/actions-checkout-4.x #7

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches:
- 'master'
paths-ignore:
- "**.md"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:

Check failure on line 18 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
java-version: '17
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Prepare gradle.properties
run: |
mkdir -p $HOME/.gradle
echo repoUsername=${{ secrets.DEPLOY_USERNAME }} >> $HOME/.gradle/gradle.properties
echo repoPassword=${{ secrets.DEPLOY_PASSWORD }} >> $HOME/.gradle/gradle.properties
- name: Deploy
run: |
./gradlew clean test publish