File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -57,17 +57,19 @@ jobs:
57
57
steps :
58
58
- name : Checkout
59
59
uses : actions/checkout@v3
60
+
61
+ - name : Get short commit SHA
62
+ id : vars
63
+ run : echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
64
+
65
+ - name : Get Latest Commit Title
66
+ id : message
67
+ run : echo "pr_title==$(git log --format=%s -n 1 ${{ github.sha }})" >> $GITHUB_OUTPUT
60
68
61
69
- name : " Get latest Coder binary from the server"
62
70
run : |
63
71
curl -fsSL "https://dev.coder.com/bin/coder-linux-amd64" -o "./coder"
64
72
chmod +x "./coder"
65
-
66
- - name : Get Latest Commit Title
67
- id : message
68
- run : |
69
- pr_title=$(git log --format=%s -n 1 ${{ github.sha }})
70
- echo "PR title=$pr_title" >> $GITHUB_OUTPUT
71
73
72
74
- name : " Push template"
73
75
run : |
You can’t perform that action at this time.
0 commit comments