mirror of
https://github.com/Jellify-Music/App.git
synced 2026-03-18 11:10:59 -05:00
chore : pipeline improvements (#678)
* Add support for --PR flag in getRandomVersion.sh * Add --PR flag to getRandomVersion.sh calls Updated getRandomVersion.sh call to include --PR flag for both Android and iOS bundle creation. * Update maestro-test.yml * Update maestro-test.yml * Update maestro-test.yml * Create sendDiscordMessage * Replace Fastlane notifications with Node script * Rename sendDiscordMessage to sendDiscordMessage.js * Update sendDiscordMessage.js * Update sendDiscordMessage.js * Fux * frf * fix * gg * fix: Fix incorrect return of on Web * fix: Fix Versioned URL
This commit is contained in:
12
.github/workflows/maestro-test.yml
vendored
12
.github/workflows/maestro-test.yml
vendored
@@ -100,6 +100,10 @@ jobs:
|
||||
with:
|
||||
name: android-artifacts
|
||||
path: artifacts/
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.4' # Not needed with a .ruby-version, .tool-versions or mise.toml
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
|
||||
- name: Enable KVM group perms
|
||||
shell: bash
|
||||
@@ -128,18 +132,14 @@ jobs:
|
||||
- name: 🗣️ Notify Success on Discord
|
||||
if: success()
|
||||
run: |
|
||||
cd ios
|
||||
bundle install && bundle exec fastlane notifyOnDiscord title:"✅ Maestro Tests Passed" description:"Maestro tests completed successfully"
|
||||
cd ..
|
||||
node scripts/sendDiscordMessage.js "__**## ✅ Maestro Test Passed**__All checks completed successfully!"
|
||||
env:
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.MAESTRO_WEBHOOK_RESULTS }}
|
||||
|
||||
- name: 🗣️ Notify Failure on Discord
|
||||
if: failure()
|
||||
run: |
|
||||
cd ios
|
||||
bundle install && bundle exec fastlane notifyOnDiscord title:"❌ Maestro Tests Failed" description:"Maestro tests failed. Check the workflow logs for details."
|
||||
cd ..
|
||||
node scripts/sendDiscordMessage.js "__**## ❌ Maestro Test Failed**__Some tests did not pass."
|
||||
env:
|
||||
DISCORD_WEBHOOK_URL: ${{ secrets.MAESTRO_WEBHOOK_RESULTS }}
|
||||
- name: Store tests result
|
||||
|
||||
5
.github/workflows/publish-ota-update-pr.yml
vendored
5
.github/workflows/publish-ota-update-pr.yml
vendored
@@ -3,7 +3,10 @@ on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**'
|
||||
|
||||
- 'App.tsx'
|
||||
- '.github/workflows/publish-ota-update-pr.yml'
|
||||
- 'scripts/ota-PR.sh'
|
||||
- 'scripts/getRandomVersion.sh'
|
||||
jobs:
|
||||
publish-ota-update:
|
||||
runs-on: macos-15
|
||||
|
||||
Reference in New Issue
Block a user