-lib/Update a manifest #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Manifests | |
on: workflow_dispatch | |
# push: | |
# branches: [ main ] | |
# workflow_dispatch: | |
jobs: | |
update_rsruntime_manif: | |
name: "Update _rsruntime/MANIFEST.ini" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
cache: pip | |
- name: "Install cryptography" | |
run: pip install cryptography | |
- name: "Extract key" | |
run: "echo ${{ secrets.MAN_KEY }} | base64 -d > ./key.pyk" | |
- name: "Use ./devel/rsruntime-updatemanifest.sh" | |
run: "./devel/rsruntime-updatemanifest.sh > 2>&1 /dev/null" | |
- name: "Remove key" | |
run: "rm ./key.pyk" | |
- name: "Commit changes" | |
uses: Andro999b/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: main | |
force: true | |
message: "${{ github.action }}[${{ github.id }}] triggered by ${{ github.actor }} ${{ github.sha }}" |