0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-26 07:58:20 -05:00

ci: #minor change

This commit is contained in:
Scott 2024-01-28 09:30:32 -05:00
parent 1252d51d28
commit bb18308505

View File

@ -12,13 +12,15 @@ concurrency: production
jobs: jobs:
build: build:
name: Create Release name: bump tag version and release
if: github.event.pull_request.merged == true if: github.event.pull_request.merged == true
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3
with:
ref: ${{ github.sha }} ## this seems to be required due to https://github.com/anothrNick/github-tag-action/issues/266
fetch-depth: 0
- name: 'Automated Version Bump' - name: 'Automated Version Bump'
id: version-bump id: version-bump
uses: anothrNick/github-tag-action@1.36.0 uses: anothrNick/github-tag-action@1.36.0
@ -35,7 +37,6 @@ jobs:
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
- name: Create Release - name: Create Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true generate_release_notes: true
@ -43,5 +44,5 @@ jobs:
tag_name: ${{ steps.version-bump.outputs.new_tag }} tag_name: ${{ steps.version-bump.outputs.new_tag }}
prerelease: false prerelease: false
env: env:
GITHUB_REPOSITORY: my_gh_org/my_gh_repo GITHUB_REPOSITORY: ${{ github.repository }}