Skip to content

Commit

Permalink
ci publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Peva Blanchard committed Oct 11, 2024
1 parent 64bea04 commit bba0a77
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish

on:
push:
tags: [ "release/**" ]

jobs:
publish:
name: publish
runs-on: ubuntu-latest
steps:
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v3.5.1

# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1.0.6

# Setup Java 17 environment for the next steps
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
cache: gradle

- name: Run Kotlin Tests
env:
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew :core:publish :grammar:publish

0 comments on commit bba0a77

Please sign in to comment.