mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-06 11:00:09 -06:00
Ubuntu Actions (#393)
Implement Ubuntu machines for most GitHub Workflows
This commit is contained in:
10
.github/workflows/build-android.yml
vendored
10
.github/workflows/build-android.yml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-android:
|
||||
runs-on: macos-15
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🛒 Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -13,12 +13,18 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: 💎 Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.0' # Match your local Ruby version
|
||||
bundler-cache: true
|
||||
|
||||
- name: 💬 Echo package.json version to Github ENV
|
||||
run: echo VERSION_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
|
||||
|
||||
- name: 🤖 Run yarn init-android
|
||||
run: yarn init-android
|
||||
run: yarn install --network-concurrency 1
|
||||
|
||||
- name: 🚀 Run fastlane build
|
||||
run: yarn fastlane:android:build
|
||||
|
||||
19
.github/workflows/publish-beta.yml
vendored
19
.github/workflows/publish-beta.yml
vendored
@@ -26,7 +26,7 @@ on:
|
||||
jobs:
|
||||
publish-android:
|
||||
if: ${{ github.event.inputs['build-platform'] == 'Android' || github.event.inputs['build-platform'] == 'Both' }}
|
||||
runs-on: macos-15
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
version: ${{ steps.setver.outputs.version }}
|
||||
steps:
|
||||
@@ -40,8 +40,14 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: 💎 Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.0'
|
||||
bundler-cache: true
|
||||
|
||||
- name: 🍎 Run yarn init-android
|
||||
run: yarn init-android
|
||||
run: yarn install --network-concurrency 1
|
||||
|
||||
- name: + Version Up
|
||||
if: ${{ github.event.inputs['version-bump'] != 'No Bump' }}
|
||||
@@ -100,6 +106,8 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
|
||||
|
||||
- name: 🍎 Run yarn init-ios:new-arch
|
||||
run: yarn init-ios:new-arch
|
||||
@@ -154,12 +162,17 @@ jobs:
|
||||
|
||||
finalize-release:
|
||||
needs: [publish-android, publish-ios]
|
||||
runs-on: macos-15
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🛒 Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.SIGNING_REPO_PAT }}
|
||||
- name: 💎 Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.0'
|
||||
bundler-cache: true
|
||||
|
||||
- name: ⬇️ Download Android Artifacts
|
||||
if: ${{ github.event.inputs['build-platform'] == 'Android' || github.event.inputs['build-platform'] == 'Both' }}
|
||||
|
||||
2
.github/workflows/publish-ota-update.yml
vendored
2
.github/workflows/publish-ota-update.yml
vendored
@@ -5,7 +5,7 @@ on:
|
||||
- 'main'
|
||||
jobs:
|
||||
publish-ota-update:
|
||||
runs-on: macos-15
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🛒 Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
4
.github/workflows/run-jest-test-suite.yml
vendored
4
.github/workflows/run-jest-test-suite.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
run-jest-test-suite:
|
||||
runs-on: macos-15
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 🛒 Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
run: echo VERSION_NUMBER=$(node -p -e "require('./package.json').version") >> $GITHUB_ENV
|
||||
|
||||
- name: 🤖 Run yarn init-android
|
||||
run: yarn init-android
|
||||
run: yarn install --network-concurrency 1
|
||||
|
||||
- name: 🔍 Run yarn tsc
|
||||
run: yarn tsc
|
||||
|
||||
Reference in New Issue
Block a user