Skip to content

Commit

Permalink
Merge pull request #7 from NFIBrokerage/bump-github-action-versions
Browse files Browse the repository at this point in the history
Bump github action versions
  • Loading branch information
svrdlans authored Mar 15, 2024
2 parents fa5e6c2 + 2d506cd commit 959fdae
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on: push
jobs:
bless:
name: Bless
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
MIX_ENV: test

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

- name: Determine the elixir version
run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
Expand All @@ -26,7 +26,7 @@ jobs:
otp-version: ${{ env.OTP_VERSION }}

- name: Restore the deps cache
uses: actions/cache@v1
uses: actions/cache@v4
id: deps-cache
with:
path: deps
Expand All @@ -35,7 +35,7 @@ jobs:
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
- name: Restore the _build cache
uses: actions/cache@v1
uses: actions/cache@v4
id: build-cache
with:
path: _build
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:

publish-hex-package:
name: Publish Hex Package ⬆️☁️
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: startsWith(github.ref, 'refs/tags/v')
env:
MIX_ENV: dev
Expand All @@ -77,7 +77,7 @@ jobs:

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

- name: Determine the elixir version
run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
Expand All @@ -92,7 +92,7 @@ jobs:
otp-version: ${{ env.OTP_VERSION }}

- name: Restore the deps cache
uses: actions/cache@v1
uses: actions/cache@v4
id: deps-cache
with:
path: deps
Expand All @@ -101,7 +101,7 @@ jobs:
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
- name: Restore the _build cache
uses: actions/cache@v1
uses: actions/cache@v4
id: build-cache
with:
path: _build
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:

- name: Create a GitHub Release
id: create_release
uses: NFIBrokerage/create-release@v2
uses: NFIBrokerage/create-release@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/refresh-dev-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ env:
jobs:
refresh-dev-cache:
name: Refresh Dev Cache
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
MIX_ENV: dev

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

- name: Determine the elixir version
run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
Expand All @@ -52,7 +52,7 @@ jobs:
otp-version: ${{ env.OTP_VERSION }}

- name: Restore the deps cache
uses: actions/cache@v1
uses: actions/cache@v4
id: deps-cache
with:
path: deps
Expand All @@ -61,7 +61,7 @@ jobs:
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
- name: Restore the _build cache
uses: actions/cache@v1
uses: actions/cache@v4
id: build-cache
with:
path: _build
Expand Down

0 comments on commit 959fdae

Please sign in to comment.