SUL23-668 | change last 12 months to last 90 days #94
Workflow file for this run
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
# .github/workflows/release.yml | |
name: Release | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
if: github.event.pull_request.merged | |
steps: | |
- name: Get Next Release | |
id: tag | |
uses: K-Phoen/semver-release-action@master | |
with: | |
release_strategy: none | |
release_branch: main | |
tag_format: "%major%.%minor%.%patch%" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Release | |
if: ${{ steps.tag.outputs.tag }} | |
uses: ncipollo/release-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
name: ${{ steps.tag.outputs.tag }} | |
tag: ${{ steps.tag.outputs.tag }} | |
commit: ${{ github.sha }} | |
generateReleaseNotes: true | |
makeLatest: true |