Skip to content

Commit

Permalink
chore: Add --no-browser flag to opam-publish (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Dec 22, 2020
1 parent 421b45d commit f47f2bb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/opam-publish.yml
Expand Up @@ -39,11 +39,6 @@ jobs:
mkdir -p ~/.opam/plugins/opam-publish/
echo -n ${{ secrets.OPAM_RELEASE }} > ~/.opam/plugins/opam-publish/binaryen.token
# This is the only way to make opam publish "headless" currently
- name: Remove xdg-open
run: |
sudo rm $(which xdg-open)
- name: Generate CHANGES file
run: |
echo -n "${{ github.event.release.body }}" > CHANGES.md
Expand All @@ -59,4 +54,4 @@ jobs:
- name: Publish to opam
run: |
opam publish --msg-file=CHANGES.md ${{ github.event.release.assets[0].browser_download_url }}
opam publish --no-browser --msg-file=CHANGES.md ${{ github.event.release.assets[0].browser_download_url }}

0 comments on commit f47f2bb

Please sign in to comment.