Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Dec 14, 2023
1 parent d9ec4d7 commit fada502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.ml
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ let main_build_job ~analyse_job ~cygwin_job ?section runner start_version ~oc ~w
run "retrieve labels" ~shell:"bash" ~env:["GH_TOKEN","${{ secrets.GITHUB_TOKEN }}"]
[
{|BINARY_LABEL=$(gh api --jq '.labels.[].name' /repos/rjbou/opam/pulls/${{ github.event.number }} | grep "PR:BINARIES" || echo "other")|};
{|echo "BYNARY_LABEL=$BINARY_LABEL" >> $GITHUB_ENV|}
{|echo "BINARY_LABEL=$BINARY_LABEL" >> $GITHUB_ENV|}
]
in
let upload_binaries =
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
shell: bash
run: |
BINARY_LABEL=$(gh api --jq '.labels.[].name' /repos/rjbou/opam/pulls/${{ github.event.number }} | grep "PR:BINARIES" || echo "other")
echo "BYNARY_LABEL=$BINARY_LABEL" >> $GITHUB_ENV
echo "BINARY_LABEL=$BINARY_LABEL" >> $GITHUB_ENV
- name: Upload opam binaries
if: env.BINARY_LABEL == 'PR:BINARIES' && matrix.ocamlv == '4.14.1'
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit fada502

Please sign in to comment.