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

.github/workflows/version_notifier.yaml #26909

.github/workflows/version_notifier.yaml

.github/workflows/version_notifier.yaml #26909

on:
schedule:
- cron: "0 * * * *"
jobs:
run:
name: "Check for new Kotlin releases"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: "main"
- name: Setup Java JDK 16
uses: actions/setup-java@v2.1.0
with:
distribution: 'adopt'
java-version: 16
- name: Gradle (RUN)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cd tools && gradle :release_notifier:run
- name: Update Previous file
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update checked Kotlin version store
commit_author: Michael Rittmeister <michael@rittmeister.in>
file_pattern: tools/release_notifier/checked_versions.json
- name: Release
uses: softprops/action-gh-release@v1
with:
body: "Kotlin Release:"
draft: true
tag_name: v${{ needs.build_metadata.outputs.version }}
release_name: ${{ needs.build_metadata.outputs.version }}