- improve build to add sample, without having a prior checkout

This commit is contained in:
Mike Penz
2020-10-17 20:04:44 +02:00
parent 8044ea441a
commit 9a9cd26940
+7 -4
View File
@@ -22,6 +22,13 @@ jobs:
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: "Configuration without Checkout"
uses: mikepenz/release-changelog-builder-action@main
with:
toTag: "v0.0.3"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2 - 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
@@ -53,10 +60,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Checkout full depth so tags can be discovered automatically if not specified
- name: Prepare Tag - name: Prepare Tag
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
id: tag_version id: tag_version