ci: Fix some invalid commands

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2021-11-30 11:32:23 +01:00
parent e3302fa163
commit d3a99e032d

View file

@ -8,11 +8,16 @@ on:
jobs: jobs:
update-authors: update-authors:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
name: "Update Authors" name: "Update Authors"
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: "Dependecies"
shell: bash
run: |
sudo apt-get -qq update
sudo apt-get install nodejs npm
- name: "Generate Authors file" - name: "Generate Authors file"
shell: bash shell: bash
env: env:
@ -24,7 +29,7 @@ jobs:
pushd ./tools > /dev/null pushd ./tools > /dev/null
npm install npm install
node ./generate-contributors.js "${{ github.workspace }}/AUTHORS.md" "${{ github.workspace }}/data/thanks.json" node ./generate-contributors.js "${{ github.workspace }}/AUTHORS.md" "${{ github.workspace }}/data/thanks.json"
popd /dev/null popd > /dev/null
git add . git add .
git commit -a -m="project: Generate contributor attribution files" git commit -a -m="project: Generate contributor attribution files"
git push -f git push -f