Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
plux committed Sep 30, 2024
1 parent 7f54ee2 commit 1329b12
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ jobs:
# Smaller job for MacOS to avoid excessive billing
strategy:
matrix:
platform: [macos-latest-arm]
otp-version: [26]
platform: [macos-latest]
otp-version: [27]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
Expand Down
21 changes: 7 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ jobs:
# Smaller job for MacOS to avoid excessive billing
strategy:
matrix:
platform: [macos-latest-arm]
otp-version: [26]
platform: [macos-latest]
otp-version: [24, 25, 26, 27]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
Expand All @@ -172,27 +172,20 @@ jobs:
run: brew install rebar3
- name: Compile
run: rebar3 compile
- name: Generate Dialyzer PLT for usage in CT Tests
run: dialyzer --build_plt --apps erts kernel stdlib compiler crypto parsetools
- name: Start epmd as daemon
run: epmd -daemon
- name: Run CT Tests
run: rebar3 ct

# Make release artifacts : erlang_ls
- name: Make erlang_ls-${{ matrix.otp-version }}-macos-arm.tar.gz
run: 'tar -zcvf erlang_ls-${{ matrix.otp-version }}-macos-arm.tar.gz -C _build/default/bin/ erlang_ls'
- name: Make erlang_ls-${{ matrix.otp-version }}-macos.tar.gz
run: 'tar -zcvf erlang_ls-${{ matrix.otp-version }}-macos.tar.gz -C _build/default/bin/ erlang_ls'
- env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
id: get_release_url
name: Get release url
uses: "bruceadams/[email protected]"
- env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
name: Upload release erlang_ls-${{ matrix.otp-version }}-macos-arm.tar.gz
name: Upload release erlang_ls-${{ matrix.otp-version }}-macos.tar.gz
uses: "actions/[email protected]"
with:
asset_content_type: application/octet-stream
asset_name: erlang_ls-${{ matrix.otp-version }}-macos-arm.tar.gz
asset_path: erlang_ls-${{ matrix.otp-version }}-macos-arm.tar.gz
asset_name: erlang_ls-${{ matrix.otp-version }}-macos.tar.gz
asset_path: erlang_ls-${{ matrix.otp-version }}-macos.tar.gz
upload_url: "${{ steps.get_release_url.outputs.upload_url }}"

0 comments on commit 1329b12

Please sign in to comment.