From f0a44241e1be279f2b8c8bf79452ccc960fe9eb6 Mon Sep 17 00:00:00 2001 From: Kasey Kirkham Date: Wed, 8 Jan 2025 15:02:09 -0600 Subject: [PATCH] build inline --- .github/workflows/dogfood.yml | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/.github/workflows/dogfood.yml b/.github/workflows/dogfood.yml index 4679692..54705ac 100644 --- a/.github/workflows/dogfood.yml +++ b/.github/workflows/dogfood.yml @@ -8,32 +8,21 @@ on: branches: [ "main" ] jobs: - build-unclog: - runs-on: ubuntu-latest - outputs: - artifact-name: ${{ steps.unclog-build.outputs.artifact-name }} - steps: - - - name: Checkout source code - uses: actions/checkout@v4 - - - name: Run unclog build - id: unclog-build - uses: ./.github/actions/build-unclog - run-changelog-check: runs-on: ubuntu-latest - needs: build-unclog steps: - - name: Checkout source code uses: actions/checkout@v4 + - name: build-unclog + id: unclog-build + uses: ./.github/actions/build-unclog + - name: Download changelog check binary id: unclog-download uses: actions/download-artifact@v4 with: - name: ${{ needs.build-unclog.outputs.artifact-name }} + name: ${{ steps.unclog-build.outputs.artifact-name }} - name: Get new changelog files id: new-changelog-files @@ -46,9 +35,6 @@ jobs: shell: bash env: ALL_ADDED_MARKDOWN: ${{ steps.new-changelog-files.outputs.added_files }} - UNCLOG_BIN: ${{ steps.unclog-download.outputs.download-path}}/${{ needs.build-unclog.outputs-artifact-name }} - UNCLOG_BIN_DIR: ${{ steps.unclog-download.outputs.download-path}} - UNCLOG_BIN_FNAME: ${{ needs.build-unclog.outputs-artifact-name }} + UNCLOG_BIN: ${{ steps.unclog-download.outputs.download-path}}/${{ steps.unclog-build.outputs.artifact-name }} run: | - echo "UNCLOG_BIN=${UNCLOG_BIN}, UNCLOG_BIN_DIR=${UNCLOG_BIN_DIR}, UNCLOG_BIN_FNAME=${UNCLOG_BIN_FNAME}" - #chmod +x ${UNCLOG_BIN} && ./${UNCLOG_BIN} check -fragment-env=ALL_ADDED_MARKDOWN + chmod +x ${UNCLOG_BIN} && ${UNCLOG_BIN} check -fragment-env=ALL_ADDED_MARKDOWN