Skip to content

Release Auction REST API #105

Release Auction REST API

Release Auction REST API #105

Workflow file for this run

name: Release Auction REST API
on:
workflow_run:
workflows: [ Build Spring Boot Project ]
types:
- completed
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release Auction REST API
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 Auction REST API
uses: softprops/[email protected]
with:
name: 'Auction REST API - v${{ steps.get_version.outputs.version }}'
tag_name: ${{ steps.get_version.outputs.version }}
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}