From d3a99e032d5f6009616396254b852a491e7b149e Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Tue, 30 Nov 2021 11:32:23 +0100 Subject: [PATCH] ci: Fix some invalid commands --- .github/workflows/authors.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/authors.yml b/.github/workflows/authors.yml index 6220b8df..8045cd50 100644 --- a/.github/workflows/authors.yml +++ b/.github/workflows/authors.yml @@ -8,11 +8,16 @@ on: jobs: update-authors: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 name: "Update Authors" steps: - name: "Checkout" uses: actions/checkout@v2 + - name: "Dependecies" + shell: bash + run: | + sudo apt-get -qq update + sudo apt-get install nodejs npm - name: "Generate Authors file" shell: bash env: @@ -24,7 +29,7 @@ jobs: pushd ./tools > /dev/null npm install node ./generate-contributors.js "${{ github.workspace }}/AUTHORS.md" "${{ github.workspace }}/data/thanks.json" - popd /dev/null + popd > /dev/null git add . git commit -a -m="project: Generate contributor attribution files" git push -f