Skip to content

Commit

Permalink
simplify precompile ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Mar 9, 2024
1 parent ab59592 commit da51b7a
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/precompile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ jobs:
MIX_ENV: prod
strategy:
matrix:
otp_version: [25, 26]
otp_version: [26]

name: Linux x86_64 - OTP ${{ matrix.otp_version }}

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
Expand Down Expand Up @@ -56,12 +57,13 @@ jobs:
ELIXIR_VERSION: "1.16.0"
strategy:
matrix:
otp_version: ["25.3.2.8", "26.2.2"]
otp_version: ["26.2.2"]

name: macOS x86_64 - OTP ${{ matrix.otp_version }}

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Cache OTP
uses: actions/cache@v3
Expand All @@ -84,7 +86,7 @@ jobs:
with:
path: ./cache/elixir
key: ${{ runner.os }}-elixir-${{ env.ELIXIR_VERSION }}

- name: Download and Compile Elixir
if: steps.cache-elixir.outputs.cache-hit != 'true'
run: |
Expand Down Expand Up @@ -126,12 +128,13 @@ jobs:
MIX_ENV: prod
strategy:
matrix:
otp_version: [25, 26]
otp_version: [26]

name: Windows x86_64 - OTP ${{ matrix.otp_version }}

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
Expand Down

0 comments on commit da51b7a

Please sign in to comment.