Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd6b73f8

Browse files
committed
chore: try out separating release/build steps
1 parent2a89070 commitd6b73f8

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

‎.github/workflows/elixir.yml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,33 @@ jobs:
4646
if:startsWith(github.ref, 'refs/tags/v')
4747
-run:mix check
4848
if:"!startsWith(github.ref, 'refs/tags/v')"
49+
release:
50+
runs-on:ubuntu-latest
51+
if:startsWith(github.ref, 'refs/tags/v')
52+
name:Release
53+
needs:[build]
54+
strategy:
55+
matrix:
56+
otp:["23"]
57+
elixir:["1.10.0"]
58+
env:
59+
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
60+
ASH_CI:true
61+
steps:
62+
-run:sudo apt-get install --yes erlang-dev
63+
-uses:actions/checkout@v2
64+
-uses:actions/setup-elixir@v1
65+
with:
66+
otp-version:${{matrix.otp}}
67+
elixir-version:${{matrix.elixir}}
68+
-uses:actions/cache@v1
69+
id:cache-deps
70+
with:
71+
path:deps
72+
key:otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-deps-2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
73+
restore-keys:otp-${{matrix.otp}}-elixir-${{matrix.elixir}}-deps-2
74+
-run:mix deps.get
75+
-run:mix compile
4976
-run:mix hex.publish --yes
5077
if:startsWith(github.ref, 'refs/tags/v')
5178
env:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp