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