File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Pack Help.zip
2+ on :
3+ push :
4+ paths : ' **/**'
5+ workflow_dispatch :
6+
7+ jobs :
8+ update-help :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v5
12+
13+ - name : Pack
14+ run : |
15+ rm -f * || true
16+ rm -r .*
17+ zip -r Help.zip ./
18+
19+ - name : Upload a Build Artifact
20+ uses : actions/upload-artifact@v4
21+ with :
22+ name : Help
23+ path : Help.zip
24+
25+ - uses : actions/checkout@v5
26+ with :
27+ repository : PCL-Community/PCL2-CE
28+
29+ - uses : actions/download-artifact@v5
30+ with :
31+ path : ' Plain Craft Launcher 2/Resources'
32+
33+ - name : Import GPG key
34+ uses : crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec
35+ with :
36+ gpg_private_key : ${{ secrets.UPDATE_GPG_PRIVATE_KEY }}
37+ passphrase : ${{ secrets.UPDATE_GPG_PASSPHRASE }}
38+ git_user_signingkey : true
39+ git_commit_gpgsign : true
40+
41+ - name : Update Help.zip
42+ run : |
43+ git config user.name "PCL-Community-Bot"
44+ git config user.email "167983016+PCL-Community-Bot@users.noreply.github.com"
45+ git commit -S -a -m "chore: update Help.zip to ${{ github.ACTION_REPOSITORY }}@${{ github.sha }}"
46+ git push origin dev
You can’t perform that action at this time.
0 commit comments