File tree Expand file tree Collapse file tree 2 files changed +3
-26
lines changed Expand file tree Collapse file tree 2 files changed +3
-26
lines changed Original file line number Diff line number Diff line change 7676 Preview URL: ${{ steps.deployCloudflarePages.outputs.url }}
7777
7878 - name : Publish to Cloudflare Pages Production
79- if : (github.event_name == 'push' && github.ref == 'refs/heads/dev') || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/dev')
79+ if : (github.event_name == 'push' && github.ref == 'refs/heads/dev') || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/dev') || (github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/heads/release/'))
8080 uses : cloudflare/pages-action@v1
8181 with :
8282 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
Original file line number Diff line number Diff line change 3232 name : " ${{ env.VERSION }}"
3333 draft : true
3434 prerelease : false
35+ generate_release_notes : true
3536
3637 build-macos :
3738 uses : ./.github/workflows/template-tauri-build-macos.yml
@@ -118,28 +119,4 @@ jobs:
118119 upload_url : ${{ needs.create-draft-release.outputs.upload_url }}
119120 asset_path : ./latest.json
120121 asset_name : latest.json
121- asset_content_type : text/json
122-
123- update_release_draft :
124- needs : [build-macos, build-windows-x64, build-linux-x64]
125- permissions :
126- # write permission is required to create a github release
127- contents : write
128- # write permission is required for autolabeler
129- # otherwise, read permission is required at least
130- pull-requests : write
131- runs-on : ubuntu-latest
132- steps :
133- # (Optional) GitHub Enterprise requires GHE_HOST variable set
134- # - name: Set GHE_HOST
135- # run: |
136- # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
137-
138- # Drafts your next Release notes as Pull Requests are merged into "master"
139- - uses : release-drafter/release-drafter@v5
140- # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
141- # with:
142- # config-name: my-config.yml
143- # disable-autolabeler: true
144- env :
145- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
122+ asset_content_type : text/json
You can’t perform that action at this time.
0 commit comments