File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change 6161 git config --global user.email "[email protected] " 6262 git config --global user.name "Grain Bot"
6363
64- # Some hacks to make sure opam doesn't pull the repo in a way we can't deal with
65- - name : Setup opam repository
66- run : |
67- mkdir -p ~/.opam/plugins/opam-publish/repos/
68- git clone https://github.com/ocaml/opam-repository ~/.opam/plugins/opam-publish/repos/ocaml%opam-repository
69- cd ~/.opam/plugins/opam-publish/repos/ocaml%opam-repository
70- git remote add user https://${{ secrets.OPAM_RELEASE }}@github.com/grainbot/opam-repository
71-
72- # Set up our token because opam doesn't support env var tokens
73- - name : Setup token
74- run : |
75- mkdir -p ~/.opam/plugins/opam-publish/
76- echo -n ${{ secrets.OPAM_RELEASE }} > ~/.opam/plugins/opam-publish/libbinaryen.token
77-
7864 - name : Generate CHANGES file
7965 env :
8066 CHANGES : ${{ needs.add-archive.outputs.notes }}
@@ -84,13 +70,15 @@ jobs:
8470 - name : Setup OCaml
8571 uses : ocaml/setup-ocaml@c2e6bb92370612b89f302c3aaefa1da45ee2d702 # v3.2.15
8672 with :
87- ocaml-compiler : 4.14 .0
73+ ocaml-compiler : 5.2 .0
8874
8975 - name : Install publish utils
9076 run : |
91- opam install opam-publish=2.4 .0
77+ opam install opam-publish=2.7 .0
9278
9379 - name : Publish to opam
80+ env :
81+ OPAM_PUBLISH_GH_TOKEN : ${{ secrets.OPAM_RELEASE }}
9482 run : |
9583 opam publish --no-confirmation --no-browser --msg-file=CHANGES.md ${{ needs.add-archive.outputs.browser_download_url }}
9684
You can’t perform that action at this time.
0 commit comments