Skip to content

Commit

Permalink
Fixes GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgio Torres committed Feb 14, 2024
1 parent 6928a62 commit ae675df
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Yamel CD

on:
workflow_run:
workflows: ["Yamel Master CI"]
workflows: ["Yamel Main CI"]
types:
- completed

Expand Down Expand Up @@ -128,4 +128,4 @@ jobs:
- env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
run: mix hex.publish --yes
run: mix hex.publish --yes
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,24 @@ name: Yamel CI
on:
pull_request:
branches:
- master
- main

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
matrix:
otp: ['22.3.4.26']
elixir: ['1.8.2']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Elixir
uses: actions/setup-elixir@v1
uses: erlef/setup-beam@v1
with:
elixir-version: '1.8.x'
otp-version: '22.3'
elixir-version: '1.8.2'
otp-version: '22.3.4.26'
version-type: 'strict'
- name: Cache Dependencies
uses: actions/cache@v2
with:
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/master-ci.yml → .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
name: Yamel Master CI
name: Yamel Main CI

on:
push:
branches:
- master
- main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
otp: ['22.2']
elixir: ['1.8.2']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Elixir
uses: actions/setup-elixir@v1
uses: erlef/setup-beam@v1
with:
elixir-version: '1.8.x'
otp-version: '22.3'
elixir-version: '1.8.2'
otp-version: '22.2'
- name: Cache Dependencies
uses: actions/cache@v2
with:
Expand Down

0 comments on commit ae675df

Please sign in to comment.