File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,21 @@ name: release
2
2
3
3
on :
4
4
push :
5
- tags : ["v*"]
5
+ tags :
6
+ - " v*.*.*"
6
7
7
8
jobs :
8
9
build :
9
10
runs-on : ubuntu-latest
10
11
steps :
11
- - uses : actions/checkout@v3
12
+ - uses : actions/checkout@v4
12
13
- uses : erlef/setup-beam@v1
13
14
with :
14
15
otp-version : " 26"
15
16
gleam-version : " 1.2.0"
16
17
- run : cargo install tomlq
17
18
- run : |
18
- if [ "v$(tomlq version -f gleam.toml)" == "${{ github.ref_name }}" ]; then
19
+ if [ "v$(tq version -f gleam.toml)" == "${{ github.ref_name }}" ]; then
19
20
exit 0
20
21
fi
21
22
echo "tag does not match version in gleam.toml, refusing to publish"
27
28
env :
28
29
HEXPM_USER : ${{ secrets.HEX_USERNAME }}
29
30
HEXPM_PASS : ${{ secrets.HEX_PASSWORD }}
30
-
31
- - uses : softprops/action-gh-release@v1
31
+ - uses : softprops/action-gh-release@v2
You can’t perform that action at this time.
0 commit comments