File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,21 @@ name: release
22
33on :
44 push :
5- tags : ["v*"]
5+ tags :
6+ - " v*.*.*"
67
78jobs :
89 build :
910 runs-on : ubuntu-latest
1011 steps :
11- - uses : actions/checkout@v3
12+ - uses : actions/checkout@v4
1213 - uses : erlef/setup-beam@v1
1314 with :
1415 otp-version : " 26"
1516 gleam-version : " 1.2.0"
1617 - run : cargo install tomlq
1718 - 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
1920 exit 0
2021 fi
2122 echo "tag does not match version in gleam.toml, refusing to publish"
2728 env :
2829 HEXPM_USER : ${{ secrets.HEX_USERNAME }}
2930 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