Bluesky app fork with some witchin' additions ๐Ÿ’ซ witchsky.app
bluesky fork client
122
fork

Configure Feed

Select the types of activity you want to include in your feed.

notify slack on production builds (#3460)

authored by

Hailey and committed by
GitHub
26f5e02a ee87f2ca

+28 -11
+28 -11
.github/workflows/build-submit-android.yml
··· 62 62 - name: ๐Ÿ—๏ธ EAS Build 63 63 run: yarn use-build-number-with-bump eas build -p android --profile ${{ inputs.profile || 'testflight-android' }} --local --output build.aab --non-interactive 64 64 65 - - name: ๐Ÿš€ Deploy 66 - if: ${{ inputs.profile == 'production' }} 67 - run: eas submit -p android --non-interactive --path build.aab 68 - 69 - - name: โœ๏ธ Rename bundle 65 + - name: โœ๏ธ Rename Testflight bundle 70 66 if: ${{ inputs.profile != 'production' }} 71 67 run: mv build.aab build.apk 72 68 73 69 - name: โฐ Get a timestamp 74 70 id: timestamp 75 - if: ${{ inputs.profile != 'production' }} 76 71 uses: nanzm/get-time-action@master 77 72 with: 78 73 format: 'MM-DD-HH-mm-ss' 79 74 80 - - name: ๐Ÿš€ Upload Artifact 81 - id: upload-artifact 75 + - name: ๐Ÿš€ Upload Production Artifact 76 + id: upload-artifact-production 77 + if: ${{ inputs.profile == 'production' }} 78 + uses: actions/upload-artifact@v4 79 + with: 80 + retention-days: 30 81 + compression-level: 6 82 + name: build-${{ steps.timestamp.outputs.time }}.aab 83 + path: build.apk 84 + 85 + - name: ๐Ÿš€ Upload Testflight Artifact 86 + id: upload-artifact-testflight 82 87 if: ${{ inputs.profile != 'production' }} 83 88 uses: actions/upload-artifact@v4 84 89 with: 85 90 retention-days: 30 86 - compression-level: 0 91 + compression-level: 6 87 92 name: build-${{ steps.timestamp.outputs.time }}.apk 88 93 path: build.apk 89 94 90 - - name: ๐Ÿ”” Notify Slack 95 + - name: ๐Ÿ”” Notify Slack of Production Build 96 + if: ${{ inputs.profile == 'production' }} 97 + uses: slackapi/slack-github-action@v1.25.0 98 + with: 99 + payload: | 100 + { 101 + "text": "Android build is ready for submission. This is a production build! Download the artifact here: ${{ steps.upload-artifact-production.outputs.artifact-url }}" 102 + } 103 + env: 104 + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CLIENT_ALERT_WEBHOOK }} 105 + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK 106 + 107 + - name: ๐Ÿ”” Notify Slack of Testflight Build 91 108 if: ${{ inputs.profile != 'production' }} 92 109 uses: slackapi/slack-github-action@v1.25.0 93 110 with: 94 111 payload: | 95 112 { 96 - "text": "Android build is ready for testing. Download the artifact here: ${{ steps.upload-artifact.outputs.artifact-url }}" 113 + "text": "Android build is ready for testing. Download the artifact here: ${{ steps.upload-artifact-testflight.outputs.artifact-url }}" 97 114 } 98 115 env: 99 116 SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CLIENT_ALERT_WEBHOOK }}