File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 1010 tags : [ "v*.*.*" ]
1111 pull_request :
1212 branches : [ master ]
13+ workflow_dispatch :
14+ inputs :
15+ suite :
16+ description : " Coq OPAM suite"
17+ required : true
18+ default : " released"
19+ type : choice
20+ options :
21+ - released
22+ - extra-dev
23+
24+ env :
25+ OPAM_SUITE : ${{ inputs.suite }}
26+
1327jobs :
1428 build :
1529 runs-on : ubuntu-latest
4963 release :
5064 runs-on : ubuntu-latest
5165 if : startsWith(github.ref, 'refs/tags/')
52- needs : [build]
66+ # needs: [build]
5367 steps :
5468 - name : Checkout
5569 uses : actions/checkout@v3
98112 eval $(opam env)
99113 git config --global user.name coqelpibot
100114 git config --global user.email [email protected] 101- OPAM_SUITE=released
102115 TAG=`git tag --sort=-v:refname|head -1`
103- opam-publish --tag=$TAG --packages-directory=$OPAM_SUITE/packages --repo=coq/opam --no-browser -v ${TAG##v} https://github.com/LPCIC/coq-elpi/releases/download/$TAG/coq-elpi-${TAG##v}.tar.gz
116+ opam-publish --tag=$TAG --packages-directory=${ OPAM_SUITE:-released} /packages --repo=coq/opam --no-browser -v ${TAG##v} https://github.com/LPCIC/coq-elpi/releases/download/$TAG/coq-elpi-${TAG##v}.tar.gz
You can’t perform that action at this time.
0 commit comments