Skip to content

Commit

Permalink
Added preliminary workflow to automatically update manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiger-Tom committed Nov 27, 2023
1 parent aa70dcd commit 4141d07
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update-manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update Manifests
on: workflow_dispatch
# push:
# branches: [ main ]
# workflow_dispatch:

jobs:
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 }}"

0 comments on commit 4141d07

Please sign in to comment.