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

[0.1.17] update changelog #23

[0.1.17] update changelog

[0.1.17] update changelog #23

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
build-release:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Patch Dionysus
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git submodule update --init --recursive
./dionysus patch
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build Dionysus
run: |
./dionysus build
./scripts/paperclip.sh
- uses: actions/upload-artifact@v2
with:
name: Dionysus-JDK17
path: dionysus-paperclip.jar
- name: Extract release notes
id: extract_release_notes
uses: ffurrer2/extract-release-notes@v1
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.extract_release_notes.outputs.release_notes }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dionysus-paperclip.jar
asset_name: dionysus-paperclip.jar
asset_content_type: application/zip