Skip to content

Commit

Permalink
release 1.4.0.
Browse files Browse the repository at this point in the history
1. upgrade deps;
2. print with name or source;
3. `list` line magic, `time` cell magic...
  • Loading branch information
potoo0 committed Jun 2, 2022
1 parent 625cbfb commit 4a0e1dc
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
48 changes: 48 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# Docs: https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
# Docs: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
# Docs: https://github.com/softprops/action-gh-release

name: Build And Release

#on: push
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

# softprops/action-gh-release need write perm
permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo github workspace=${{ github.workspace }}
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Change wrapper permissions
run: chmod +x ./gradlew

- name: Execute Gradle build
run: ./gradlew packDist

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: UPGRADE.md
files: |
README.md
build/distributions/ijava-1.4.0.zip
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
}

group = 'io.github.spencerpark'
version = '1.3.1'
version = '1.4.0'

repositories {
mavenLocal()
Expand Down

0 comments on commit 4a0e1dc

Please sign in to comment.