Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed May 31, 2024
1 parent f220bed commit 103ed6f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ jobs:

- name: generate zulip message
run: |
OUTPUT=$(echo "*Nightly update*\n$(nix shell nixpkgs#jq --command ./message.sh)")
echo "message=$OUTPUT" >> $GITHUB_OUTPUT
id: message
{
echo 'MSG<<EOF'
echo "*Nightly update*"
nix shell nixpkgs#jq --command ./message.sh
echo EOF
} >> "$GITHUB_ENV"
env:
RUN: ${{ github.run_id }}

Expand All @@ -35,7 +38,7 @@ jobs:
to: 440084
type: stream
topic: ci
content: ${{ steps.message.outputs.message }}
content: ${{ env.MSG }}

- name: zulip error message
if: ${{ failure() }}
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ jobs:

- name: generate zulip message
run: |
OUTPUT=$(echo "*Manual run*\n$(nix shell nixpkgs#jq --command ./message.sh)")
echo "message=$OUTPUT" >> $GITHUB_OUTPUT
id: message
{
echo 'MSG<<EOF'
echo "*Manual run*"
nix shell nixpkgs#jq --command ./message.sh
echo EOF
} >> "$GITHUB_ENV"
env:
RUN: ${{ github.run_id }}

Expand All @@ -50,7 +53,7 @@ jobs:
to: 440084
type: stream
topic: ci
content: ${{ steps.message.outputs.message }}
content: ${{ env.MSG }}

- name: zulip error message
if: ${{ failure() }}
Expand Down

0 comments on commit 103ed6f

Please sign in to comment.