Merge pull request #31 from mikepenz/feature/adjust_release_github_action

Adjust release github action
This commit is contained in:
Mike Penz
2020-10-18 09:16:40 +02:00
committed by GitHub
+5 -1
View File
@@ -34,7 +34,8 @@ jobs:
- name: Echo Configuration without Checkout Changelog - name: Echo Configuration without Checkout Changelog
run: echo "${{steps.without_checkout.outputs.changelog}}" run: echo "${{steps.without_checkout.outputs.changelog}}"
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v2
with: with:
fetch-depth: 0 # Checkout full depth so tags can be discovered automatically if not specified fetch-depth: 0 # Checkout full depth so tags can be discovered automatically if not specified
@@ -65,6 +66,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare Tag - name: Prepare Tag
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
id: tag_version id: tag_version