This repository has been archived by the owner on May 31, 2024. It is now read-only.
Release Sale Dock #16
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 Sale Dock' | |
on: | |
workflow_run: | |
workflows: [Build with Maven] | |
types: | |
- completed | |
branches: | |
- main | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
release: | |
name: 'Release Sale Dock' | |
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 Sale Dock' | |
uses: softprops/[email protected] | |
with: | |
name: 'Sale Dock - v${{ steps.get_version.outputs.version }}' | |
tag_name: ${{ steps.get_version.outputs.version }} | |
generate_release_notes: true |