Fix command in Source File Version Updater job
@@ -34,7 +34,11 @@ jobs:
git commit -am 'Update versioning in file from ${{ github.event.inputs.old_version_number }} to ${{ github.event.inputs.new_version_number }}'
git push --set-upstream origin updater-job/update-to-${{ github.event.inputs.new_version_number }}
- name: Raise a Pull-Request
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
- sudo apt-get install
- export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
+ sudo apt-add-repository https://cli.github.com/packages
+ sudo apt update
+ sudo apt-get install gh
gh pr create --base ${{ github.event.inputs.branch }} --title 'Update source file versioning to ${{ github.event.inputs.new_version_number }}' --body 'Updater-Job: PR to update versioning in source files from ${{ github.event.inputs.old_version_numver }} to ${{ github.event.inputs.new_version_number }}'
