diff --git a/.github/workflows/build-and-submit.yml b/.github/workflows/build-and-submit.yml index 9d90186..792aae7 100644 --- a/.github/workflows/build-and-submit.yml +++ b/.github/workflows/build-and-submit.yml @@ -6,7 +6,7 @@ on: jobs: build-submit: name: Build and Submit to stores - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # 1️⃣ Get latest successful run ID of main-deploy.yml on main branch - name: Get latest run ID @@ -31,10 +31,10 @@ jobs: # 2️⃣ Download version.txt artifact from that run - name: Download version artifact - uses: dawidd6/action-download-artifact@v2 + uses: actions/download-artifact@v8 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - run_id: ${{ steps.get-run.outputs.run_id }} + github-token: ${{ secrets.GITHUB_TOKEN }} + run-id: ${{ steps.get-run.outputs.run_id }} name: version path: . diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a14588..c29d118 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ permissions: jobs: lint-test: name: Lint, test - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # Let the job post results back to the PR (Sonar, test checks, …) permissions: contents: read @@ -59,7 +59,7 @@ jobs: sonar: name: Sonar analysis needs: lint-test - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: pull-requests: write contents: read @@ -85,7 +85,7 @@ jobs: convex: name: Convex Deployment needs: lint-test - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout code @@ -118,7 +118,7 @@ jobs: expo: name: Deploy to Production needs: convex - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: pull-requests: write contents: write diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4f60963..65e22cc 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -6,7 +6,7 @@ on: jobs: lint-test: name: Lint, test - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 # Let the job post results back to the PR (Sonar, test checks, …) permissions: contents: read @@ -55,7 +55,7 @@ jobs: sonar: name: Sonar analysis needs: lint-test - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: pull-requests: write contents: read @@ -80,7 +80,7 @@ jobs: expo-preview: needs: lint-test - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 name: Publish Expo Preview permissions: pull-requests: write @@ -128,7 +128,7 @@ jobs: echo "EXPO_PUBLIC_POSTHOG_API_KEY=${{secrets.POSTHOG_API_KEY}}" >> .env - name: Create preview - uses: expo/expo-github-action/preview@v8 + uses: expo/expo-github-action/preview@v9 with: command: eas update --environment preview --branch ${{ github.event.pull_request.head.ref }} --message "${{ github.event.pull_request.title }}"