From 25c4323227e2248a7be5e8bc2dcc74d59015f48c Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 30 Jan 2024 17:06:29 +0100 Subject: [PATCH] wip --- .github/workflows/releases.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 6b34532d5121..26fbf1c9f436 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -17,7 +17,9 @@ jobs: - name: Remove optional "v" prefix id: version - run: VERSION=${{ inputs.version }} echo "::set-output name=version::${VERSION#v}" + run: | + VERSION=${{ inputs.version }} + echo "version=${VERSION#v}" >> "$GITHUB_OUTPUT" - name: Update Application.php version run: | @@ -34,15 +36,11 @@ jobs: host: 104.248.56.26 username: forge key: ${{ secrets.SSH_PRIVATE_KEY_SPLITTER }} - - - name: Change directory - run: cd laravel-${{ github.ref_name }} - - - name: Pull in latest changes - run: git pull origin ${{ github.ref_name }} - - - name: Run release script - run: bash bin/release v${{ steps.version.outputs.version }} + script: | + cd laravel-${{ github.ref_name }} + git pull origin ${{ github.ref_name }} + bash bin/release v${{ steps.version.outputs.version }} + script_stop: true - name: Generate release notes id: notes