Merge pull request #37 from osmollo/feat/9.3 #35
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: New Release | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
create_release: | |
name: Create release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Read release.json | |
uses: notiz-dev/github-action-json-property@release | |
id: package_info | |
with: | |
path: 'release.json' | |
prop_path: 'version' | |
- name: Show version number | |
run: echo "Version is ${{ steps.package_info.outputs.prop }}" | |
# - name: "Build Changelog" | |
# id: build_changelog | |
# uses: scottbrenner/generate-changelog-action@master | |
- name: Create Release | |
id: create_release | |
uses: ncipollo/release-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag: "v${{ steps.package_info.outputs.prop }}" | |
name: Release v${{ steps.package_info.outputs.prop }} | |
# body: ${{ steps.build_changelog.outputs.changelog }} |