Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Format yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
dangmai committed Jul 8, 2023
1 parent 4e6c0c8 commit ebabb94
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Test and Release
on:
push:
branches:
- '**'
- "**"
tags-ignore:
- '**'
- "**"
workflow_dispatch:

jobs:
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
distribution: "adopt"
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
distribution: "adopt"
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand All @@ -47,8 +47,8 @@ jobs:
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: 'build/distributions/apex-ast-serializer.zip'
artifacts: "build/distributions/apex-ast-serializer.zip"
token: ${{ secrets.PERSONAL_TOKEN }}
tag: '${{ steps.current-time.outputs.formattedTime }}-${{ github.run_number }}'
tag: "${{ steps.current-time.outputs.formattedTime }}-${{ github.run_number }}"
- name: Send event to prettier-plugin-apex
run: 'curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.PERSONAL_TOKEN }}" --request POST --data ''{"event_type": "jorje-update", "client_payload": { "release": "${{ steps.current-time.outputs.formattedTime }}-${{ github.run_number }}" }}'' https://api.github.com/repos/dangmai/prettier-plugin-apex/dispatches'
37 changes: 19 additions & 18 deletions .github/workflows/update-jorje.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,30 @@ name: Update Jorje

on:
repository_dispatch:
types: manual-jorje-update
types:
- manual-jorje-update
workflow_dispatch:
schedule:
- cron: '0 1 * * *'
- cron: "0 1 * * *"

jobs:
jorje:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
- name: Run create-jorje-jar.sh
run: ./tools/create-jorje-jar.sh
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
commit-message: Updated jorje
title: 'Update jorje dependency'
branch: updates/jorje
token: ${{ secrets.PERSONAL_TOKEN }}
labels: automerge
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: "adopt"
java-version: 11
- name: Run create-jorje-jar.sh
run: ./tools/create-jorje-jar.sh
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
commit-message: Updated jorje
title: "Update jorje dependency"
branch: updates/jorje
token: ${{ secrets.PERSONAL_TOKEN }}
labels: automerge

0 comments on commit ebabb94

Please sign in to comment.