This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
Release Miu Shop #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Release Miu Shop' | |
on: | |
workflow_run: | |
workflows: [Build with Maven] | |
types: | |
- completed | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
release: | |
name: 'Release Miu Shop' | |
runs-on: ubuntu-latest | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
steps: | |
- name: 'Checkout repository' | |
uses: actions/checkout@v4 | |
- name: 'Get version' | |
id: get_version | |
run: | | |
chmod +x get_version.sh | |
echo "version=$(./get_version.sh)" >> $GITHUB_OUTPUT | |
- name: 'Release Miu Shop' | |
uses: softprops/action-gh-release@v0.1.15 | |
with: | |
name: 'Miu Shop ${{ steps.get_version.outputs.version }}' | |
tag_name: ${{ steps.get_version.outputs.version }} | |
generate_release_notes: true |