Skip to content

Commit

Permalink
Bump version of upload-artifact action in workflows (#1533)
Browse files Browse the repository at this point in the history
  • Loading branch information
plux authored Sep 16, 2024
1 parent a71c3d7 commit 8dfddf3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ jobs:
- name: Escriptize LSP Server
run: rebar3 escriptize
- name: Store LSP Server Escript
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: erlang_ls
path: _build/default/bin/erlang_ls
overwrite: true
- name: Check formatting
run: rebar3 fmt -c
- name: Lint
Expand All @@ -53,10 +54,11 @@ jobs:
- name: Run CT Tests
run: rebar3 ct
- name: Store CT Logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ct-logs
path: _build/test/logs
overwrite: true
- name: Run PropEr Tests
run: rebar3 proper --cover --constraint_tries 100
- name: Run Checks
Expand All @@ -69,12 +71,13 @@ jobs:
run: rebar3 edoc
if: ${{ matrix.otp-version == '24' }}
- name: Publish Documentation
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: edoc
path: |
apps/els_core/doc
apps/els_lsp/doc
overwrite: true
windows:
runs-on: windows-latest
steps:
Expand All @@ -95,10 +98,11 @@ jobs:
- name: Run CT Tests
run: rebar3 ct
- name: Store CT Logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ct-logs
path: _build/test/logs
overwrite: true
- name: Run PropEr Tests
run: rebar3 proper --cover --constraint_tries 100
- name: Run Checks
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
- name: Escriptize LSP Server
run: rebar3 escriptize
- name: Store LSP Server Escript
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: erlang_ls
path: _build/default/bin/erlang_ls
overwrite: true
- name: Check formatting
run: rebar3 fmt -c
- name: Lint
Expand All @@ -57,10 +58,11 @@ jobs:
- name: Run CT Tests
run: rebar3 ct
- name: Store CT Logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ct-logs
path: _build/test/logs
overwrite: true
- name: Run PropEr Tests
run: rebar3 proper --cover --constraint_tries 100
- name: Run Checks
Expand All @@ -73,12 +75,13 @@ jobs:
run: rebar3 edoc
if: ${{ matrix.otp-version == '24' }}
- name: Publish Documentation
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: edoc
path: |
apps/els_core/doc
apps/els_lsp/doc
overwrite: true

# Make release artifacts : erlang_ls
- name: Make erlang_ls-linux.tar.gz
Expand Down Expand Up @@ -111,10 +114,11 @@ jobs:
- name: Escriptize LSP Server
run: rebar3 escriptize
- name: Store LSP Server Escript
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: erlang_ls
path: _build/default/bin/erlang_ls
overwrite: true
- name: Lint
run: rebar3 lint
- name: Generate Dialyzer PLT for usage in CT Tests
Expand All @@ -124,10 +128,11 @@ jobs:
- name: Run CT Tests
run: rebar3 ct
- name: Store CT Logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ct-logs
path: _build/test/logs
overwrite: true
- name: Run PropEr Tests
run: rebar3 proper --cover --constraint_tries 100
- name: Run Checks
Expand Down

0 comments on commit 8dfddf3

Please sign in to comment.