| ... | ... | @@ -747,15 +747,9 @@ jobs: |
| 747 | 747 | if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.build.result == 'success' && needs.publish_cli.result == 'success' }} |
| 748 | 748 | runs-on: blacksmith-8vcpu-ubuntu-2404 |
| 749 | 749 | timeout-minutes: 10 |
| 750 | permissions: |
| 751 | contents: write |
| 750 | 752 | steps: |
| 751 | | - id: app_token |
| 752 | | name: Mint release app token |
| 753 | | uses: actions/create-github-app-token@v2 |
| 754 | | with: |
| 755 | | app-id: ${{ secrets.RELEASE_APP_ID }} |
| 756 | | private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }} |
| 757 | | owner: ${{ github.repository_owner }} |
| 758 | | |
| 759 | 753 | - name: Checkout |
| 760 | 754 | uses: actions/checkout@v6 |
| 761 | 755 | with: |
| ... | ... | @@ -823,7 +817,7 @@ jobs: |
| 823 | 817 | |
| 824 | 818 | - name: Publish release |
| 825 | 819 | if: needs.preflight.outputs.previous_tag != '' |
| 826 | | uses: softprops/action-gh-release@v2 |
| 820 | uses: softprops/action-gh-release@v3 |
| 827 | 821 | with: |
| 828 | 822 | tag_name: ${{ needs.preflight.outputs.tag }} |
| 829 | 823 | target_commitish: ${{ needs.preflight.outputs.ref }} |
| ... | ... | @@ -840,11 +834,11 @@ jobs: |
| 840 | 834 | release-assets/*.blockmap |
| 841 | 835 | release-assets/*.yml |
| 842 | 836 | fail_on_unmatched_files: true |
| 843 | | token: ${{ steps.app_token.outputs.token }} |
| 837 | token: ${{ github.token }} |
| 844 | 838 | |
| 845 | 839 | - name: Publish first release |
| 846 | 840 | if: needs.preflight.outputs.previous_tag == '' |
| 847 | | uses: softprops/action-gh-release@v2 |
| 841 | uses: softprops/action-gh-release@v3 |
| 848 | 842 | with: |
| 849 | 843 | tag_name: ${{ needs.preflight.outputs.tag }} |
| 850 | 844 | target_commitish: ${{ needs.preflight.outputs.ref }} |
| ... | ... | @@ -860,7 +854,7 @@ jobs: |
| 860 | 854 | release-assets/*.blockmap |
| 861 | 855 | release-assets/*.yml |
| 862 | 856 | fail_on_unmatched_files: true |
| 863 | | token: ${{ steps.app_token.outputs.token }} |
| 857 | token: ${{ github.token }} |
| 864 | 858 | |
| 865 | 859 | deploy_web: |
| 866 | 860 | name: Deploy hosted web app |