Skip to content

Commit 89462af

Browse files
committed
Update to upload-artifact@v4
upload-artifact@v3 is obsolete and can no longer be used.
1 parent 9df0aaa commit 89462af

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
uses: actions/cache@v3
4040
with:
4141
path: ~/.cache/rebar3/hex/hexpm/packages
42-
key: ${{ runner.os }}-hex-${{ hashFiles('rebar.lock') }}
42+
key: ${{ runner.os }}-otp${{ matrix.otp-version }}-hex-${{ hashFiles('rebar.lock') }}
4343
restore-keys: |
44-
${{ runner.os }}-hex-
44+
${{ runner.os }}-otp${{ matrix.otp-version }}-hex-
4545
- name: Cache Dialyzer PLTs
4646
uses: actions/cache@v3
4747
with:
@@ -58,9 +58,10 @@ jobs:
5858
BITBUCKET_SERVER_URL: http://bitbucket:7990
5959
run: rebar3 as test eunit,ct,proper,cover,covertool generate
6060
- name: Store test logs
61-
uses: actions/upload-artifact@v3
61+
uses: actions/upload-artifact@v4
6262
if: always()
6363
with:
64+
overwrite: true
6465
name: logs
6566
path: |
6667
_build/test/logs
@@ -76,5 +77,6 @@ jobs:
7677
if: matrix.otp-version == '25'
7778
uses: actions/upload-artifact@v4
7879
with:
80+
overwrite: true
7981
name: edoc
8082
path: "doc"

0 commit comments

Comments
 (0)