Skip to content

Added preliminary workflow to automatically update manifests #1

Added preliminary workflow to automatically update manifests

Added preliminary workflow to automatically update manifests #1

name: Update Manifests
on: workflow_dispatch
# push:
# branches: [ main ]
# workflow_dispatch:
jobs:
name: Update _rsruntime/MANIFEST.ini

Check failure on line 8 in .github/workflows/update-manifest.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-manifest.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
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 }}"