Skip to content

Commit

Permalink
Update to upload-artifact@v4
Browse files Browse the repository at this point in the history
upload-artifact@v3 is obsolete and can no longer be used.
  • Loading branch information
jesperes committed Feb 7, 2025
1 parent 9df0aaa commit 89462af
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles('rebar.lock') }}
key: ${{ runner.os }}-otp${{ matrix.otp-version }}-hex-${{ hashFiles('rebar.lock') }}
restore-keys: |
${{ runner.os }}-hex-
${{ runner.os }}-otp${{ matrix.otp-version }}-hex-
- name: Cache Dialyzer PLTs
uses: actions/cache@v3
with:
Expand All @@ -58,9 +58,10 @@ jobs:
BITBUCKET_SERVER_URL: http://bitbucket:7990
run: rebar3 as test eunit,ct,proper,cover,covertool generate
- name: Store test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
overwrite: true
name: logs
path: |
_build/test/logs
Expand All @@ -76,5 +77,6 @@ jobs:
if: matrix.otp-version == '25'
uses: actions/upload-artifact@v4
with:
overwrite: true
name: edoc
path: "doc"

0 comments on commit 89462af

Please sign in to comment.