删除主题相关内容 #22
This file contains hidden or 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: Pack Help.zip | |
| on: | |
| push: | |
| paths: '**/**' | |
| workflow_dispatch: | |
| jobs: | |
| update-help: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Pack | |
| run: | | |
| rm -f * || true | |
| rm -r .* | |
| zip -r Help.zip ./ | |
| - uses: actions/checkout@v5 | |
| with: | |
| repository: PCL-Community/PCL2-CE | |
| token: ${{ secrets.UPDATE_PAT_TOKEN }} | |
| path: PCL2-CE | |
| - name: Import GPG key | |
| uses: crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec | |
| with: | |
| gpg_private_key: ${{ secrets.UPDATE_GPG_PRIVATE_KEY }} | |
| passphrase: ${{ secrets.UPDATE_GPG_PASSPHRASE }} | |
| git_user_signingkey: true | |
| git_commit_gpgsign: true | |
| git_config_global: true | |
| - name: Update Help.zip | |
| run: | | |
| cd PCL2-CE | |
| cp ../Help.zip "Plain Craft Launcher 2/Resources" | |
| git config user.name "PCL-Community-Bot" | |
| git config user.email "167983016+PCL-Community-Bot@users.noreply.github.com" | |
| git commit -S -a -m "chore: update Help.zip to PCL-Community/PCLCEHelp@${{ github.sha }}" | |
| git push origin dev |