From a28e957a14d065c5b2e6fc2793b4875563106a50 Mon Sep 17 00:00:00 2001 From: DLBPointon Date: Tue, 26 Nov 2024 14:37:02 +0000 Subject: [PATCH] Linting YML was broken --- .github/workflows/linting.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index fdb4fc1..05d065d 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -58,17 +58,17 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }} run: nf-core -l lint_log.txt lint --dir ${GITHUB_WORKSPACE} --markdown lint_results.md - - - name: Save PR number - if: ${{ always() }} - run: echo ${{ github.event.pull_request.number }} > PR_number.txt - - - name: Upload linting log file artifact - if: ${{ always() }} - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 - with: - name: linting-logs - path: | - lint_log.txt - lint_results.md - PR_number.txt {%- endraw %} \ No newline at end of file + + - name: Save PR number + if: ${{ always() }} + run: echo ${{ github.event.pull_request.number }} > PR_number.txt + + - name: Upload linting log file artifact + if: ${{ always() }} + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 + with: + name: linting-logs + path: | + lint_log.txt + lint_results.md + PR_number.txt {%- endraw %}