Skip to content

Commit 25c4323

Browse files
committedJan 30, 2024
wip
1 parent cc653b0 commit 25c4323

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed
 

‎.github/workflows/releases.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717

1818
- name: Remove optional "v" prefix
1919
id: version
20-
run: VERSION=${{ inputs.version }} echo "::set-output name=version::${VERSION#v}"
20+
run: |
21+
VERSION=${{ inputs.version }}
22+
echo "version=${VERSION#v}" >> "$GITHUB_OUTPUT"
2123
2224
- name: Update Application.php version
2325
run: |
@@ -34,15 +36,11 @@ jobs:
3436
host: 104.248.56.26
3537
username: forge
3638
key: ${{ secrets.SSH_PRIVATE_KEY_SPLITTER }}
37-
38-
- name: Change directory
39-
run: cd laravel-${{ github.ref_name }}
40-
41-
- name: Pull in latest changes
42-
run: git pull origin ${{ github.ref_name }}
43-
44-
- name: Run release script
45-
run: bash bin/release v${{ steps.version.outputs.version }}
39+
script: |
40+
cd laravel-${{ github.ref_name }}
41+
git pull origin ${{ github.ref_name }}
42+
bash bin/release v${{ steps.version.outputs.version }}
43+
script_stop: true
4644

4745
- name: Generate release notes
4846
id: notes

0 commit comments

Comments
 (0)
Please sign in to comment.