99jobs :
1010 create_release_pr :
1111 name : Create Release PR
12- if : github.event_name == 'push' && !contains(github.event.head_commit.message, 'chore: release')
12+ if : " github.event_name == 'push' && !contains(github.event.head_commit.message, 'chore: release')"
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout code
7373
7474 test :
7575 name : Test Deno
76- if : github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')
76+ if : " github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')"
7777 runs-on : ubuntu-latest
7878 strategy :
7979 matrix :
@@ -122,7 +122,7 @@ jobs:
122122
123123 release :
124124 name : Create Release
125- if : github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')
125+ if : " github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')"
126126 runs-on : ubuntu-latest
127127 needs : [test]
128128 permissions :
@@ -209,12 +209,10 @@ jobs:
209209 deno publish --allow-dirty
210210
211211 - name : Create GitHub Release
212- uses : actions/create-release@v1
213- env :
214- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
212+ uses : softprops/action-gh-release@v2
215213 with :
216214 tag_name : ${{ steps.version.outputs.tag }}
217- release_name : Release ${{ steps.version.outputs.tag }}
215+ name : Release ${{ steps.version.outputs.tag }}
218216 body_path : release_notes.md
219217 draft : false
220218 prerelease : false
@@ -223,7 +221,7 @@ jobs:
223221 name : Update Deno Land Registry
224222 runs-on : ubuntu-latest
225223 needs : release
226- if : needs.release.result == 'success'
224+ if : " needs.release.result == 'success'"
227225 steps :
228226 - name : Checkout code
229227 uses : actions/checkout@v4
@@ -270,7 +268,7 @@ jobs:
270268 name : Notify Release Success
271269 runs-on : ubuntu-latest
272270 needs : [release, deno-land]
273- if : always() && needs.release.result == 'success'
271+ if : " always() && needs.release.result == 'success'"
274272 steps :
275273 - name : Release Summary
276274 run : |
@@ -288,4 +286,4 @@ jobs:
288286 fi
289287 echo ""
290288 echo "🚀 Installation:"
291- echo " deno add @lingodotdev/deno-sdk"
289+ echo " deno add @lingodotdev/deno-sdk"
0 commit comments