Skip to content

TIL 자동 생성

TIL 자동 생성 #275

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
name: TIL 자동 생성
on:
schedule:
- cron: '0 15 * * *' # 한국 시간 = UTC +9:00
permissions:
contents: write
jobs:
cron:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: jar
- name: Run Jar File
run: |
java -jar ./build/libs/auto-til-1.0-SNAPSHOT.jar
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
author_email: '[email protected]'
author_name: 'sen'
message: "docs: TIL 작성"