From 3a803399dbb045526bf3d24fa8c0bb4b49e43abd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Sat, 23 Sep 2023 20:29:03 +0200 Subject: [PATCH] dotenv-action needs the dotenv file --- .github/workflows/release-next-checkbox-update.yaml | 5 +++++ .github/workflows/release-next-create-pr.yaml | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-next-checkbox-update.yaml b/.github/workflows/release-next-checkbox-update.yaml index a5ec7c4..9215bb9 100644 --- a/.github/workflows/release-next-checkbox-update.yaml +++ b/.github/workflows/release-next-checkbox-update.yaml @@ -18,10 +18,15 @@ jobs: with: github-token: ${{ github.token }} action: detect + - name: list changes run: | echo "checked=${{ steps.detect.outputs.checked }}" echo "unchecked=${{ steps.detect.outputs.unchecked }} + + - name: Checkout repository + uses: actions/checkout@v4 + - name: Dotenv Action id: dotenv uses: falti/dotenv-action@v1.0.4 diff --git a/.github/workflows/release-next-create-pr.yaml b/.github/workflows/release-next-create-pr.yaml index a4040dc..7bce99d 100644 --- a/.github/workflows/release-next-create-pr.yaml +++ b/.github/workflows/release-next-create-pr.yaml @@ -11,6 +11,9 @@ jobs: outputs: dotenv: ${{ steps.dotenv.outputs }} steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Dotenv Action id: dotenv uses: falti/dotenv-action@v1.0.4 @@ -40,9 +43,6 @@ jobs: permissions: pull-requests: write steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Update version run: | TAG="${{ needs.draft.outputs.tag_name }}"