From 13f1359b3adf4165f17a4b3319efbd9f770acf96 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sat, 22 Apr 2023 15:46:06 +0200 Subject: [PATCH] .github: fix and simplify weekly distcheck job Signed-off-by: Joachim Wiberg --- .github/workflows/weekly.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index c67ea4b4..60bebd22 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -15,18 +15,17 @@ jobs: steps: - uses: actions/checkout@v3 - name: Check for any commits since last week - id: check run: | commits="$(git log --format=%H --since='1 week ago')" if [ -n "$commits" ]; then - echo run=true >> $GITHUB_OUTPUT + echo "run=true" >> $GITHUB_OUTPUT else - echo run=false >> $GITHUB_OUTPUT + echo "run=false" >> $GITHUB_OUTPUT fi distcheck: needs: schedule - if: ${{ needs.schedule.check.outputs.run == 'true' }} + if: ${{ needs.schedule.outputs.run == "true" }} runs-on: ubuntu-latest steps: - name: Install dependencies