From 9a9cd269402e105cb4d6472109f01d4d49a95e19 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Sat, 17 Oct 2020 20:04:44 +0200 Subject: [PATCH] - improve build to add sample, without having a prior checkout --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f6be4f..b0564f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,13 @@ jobs: if: github.event_name == 'pull_request' runs-on: ubuntu-latest 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 with: 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/') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Checkout full depth so tags can be discovered automatically if not specified - - name: Prepare Tag if: startsWith(github.ref, 'refs/tags/') id: tag_version