Skip to content

Commit

Permalink
Attempted to fix manifest auto-updating matrix; unified keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiger-Tom committed Nov 28, 2023
1 parent 217afa9 commit 4777a34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
strategy:
matrix:
manif:
- {path: '_rsruntime', key: ${{ secrets.MAN_KEY__rsruntime }}, dorun: ${{ needs.filter_paths.outputs.rsruntime }}}
- {path': '_rsplugins/1000-builtin', key: ${{ secrets.MAN_KEY__rsplugins_builtin }}, dorun: ${{ needs.filter_paths.outputs.rsplugins_builtin }}}
- {path: '_rsruntime', id: 'rsruntime'}}
- {path': '_rsplugins/1000-builtin', id: 'rsplugins_builtin'}}
name: "Update manifest for ${{ matrix.manif.path }}"
if: ${{ matrix.manif.dorun }}
if: ${{ needs.filter_paths.outputs[matrix.manif.id] }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -47,7 +47,7 @@ jobs:
run: "python3 -m pip install -r requirements.txt"
- name: "Extract key"
env:
MAN_KEY: ${{ matrix.manif.key }}
MAN_KEY: ${{ secrets.MAN_KEY }}
run: |
echo "$MAN_KEY" | python3 ./devel/pysign.py readinto ./key.pyk
- name: "Update manifest"
Expand All @@ -65,4 +65,4 @@ jobs:
- name: "Commit and push changes"
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Automatic manifest update (triggered by ${{ github.actor }}: ${{ github.sha }})"
commit_message: "Automatic manifest update for ${{ matrix.manif.id }} (triggered by ${{ github.actor }}: ${{ github.sha }})"

0 comments on commit 4777a34

Please sign in to comment.