@@ -5,13 +5,13 @@ on: push
55jobs :
66 bless :
77 name : Bless
8- runs-on : ubuntu-latest
8+ runs-on : ubuntu-20.04
99 env :
1010 MIX_ENV : test
1111
1212 steps :
1313 - name : Checkout
14- uses : actions/checkout@v2
14+ uses : actions/checkout@v4
1515
1616 - name : Determine the elixir version
1717 run : echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
2626 otp-version : ${{ env.OTP_VERSION }}
2727
2828 - name : Restore the deps cache
29- uses : actions/cache@v1
29+ uses : actions/cache@v4
3030 id : deps-cache
3131 with :
3232 path : deps
3535 ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
3636
3737 - name : Restore the _build cache
38- uses : actions/cache@v1
38+ uses : actions/cache@v4
3939 id : build-cache
4040 with :
4141 path : _build
6868
6969 publish-hex-package :
7070 name : Publish Hex Package ⬆️☁️
71- runs-on : ubuntu-latest
71+ runs-on : ubuntu-20.04
7272 if : startsWith(github.ref, 'refs/tags/v')
7373 env :
7474 MIX_ENV : dev
7777
7878 steps :
7979 - name : Checkout
80- uses : actions/checkout@v2
80+ uses : actions/checkout@v4
8181
8282 - name : Determine the elixir version
8383 run : echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV
9292 otp-version : ${{ env.OTP_VERSION }}
9393
9494 - name : Restore the deps cache
95- uses : actions/cache@v1
95+ uses : actions/cache@v4
9696 id : deps-cache
9797 with :
9898 path : deps
@@ -101,7 +101,7 @@ jobs:
101101 ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-
102102
103103 - name : Restore the _build cache
104- uses : actions/cache@v1
104+ uses : actions/cache@v4
105105 id : build-cache
106106 with :
107107 path : _build
@@ -136,7 +136,7 @@ jobs:
136136
137137 - name : Create a GitHub Release
138138 id : create_release
139- uses : NFIBrokerage/create-release@v2
139+ uses : NFIBrokerage/create-release@v4
140140 env :
141141 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
142142 with :
0 commit comments