@@ -15,39 +15,59 @@ jobs:
1515
1616 steps :
1717 - name : Harden Runner
18- uses : step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
18+ uses : step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
1919 with :
2020 egress-policy : audit
2121
2222 - name : Checkout
23- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2 .2
23+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0 .2
2424
2525 - name : Get version from tag
2626 id : version
27- run : echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
27+ run : echo "version=${{ GITHUB_REF#refs/tags/} }" >> $GITHUB_OUTPUT
2828
29- - name : Create skill package
29+ - name : Create typo3-testing skill package
3030 run : |
31- mkdir -p dist
32- # Copy skill files from new structure
33- cp skills/typo3-testing/SKILL.md dist/
34- cp LICENSE dist/
35- [ -d "skills/typo3-testing/references" ] && cp -r skills/typo3-testing/references dist/
36- [ -d "skills/typo3-testing/scripts" ] && cp -r skills/typo3-testing/scripts dist/
37- [ -d "skills/typo3-testing/assets" ] && cp -r skills/typo3-testing/assets dist/
38- [ -d "skills/typo3-testing/templates" ] && cp -r skills/typo3-testing/templates dist/
31+ mkdir -p dist-skill
32+ cp skills/typo3-testing/SKILL.md dist-skill/
33+ cp LICENSE dist-skill/
34+ [ -d "skills/typo3-testing/references" ] && cp -r skills/typo3-testing/references dist-skill/
35+ [ -d "skills/typo3-testing/scripts" ] && cp -r skills/typo3-testing/scripts dist-skill/
36+ [ -d "skills/typo3-testing/assets" ] && cp -r skills/typo3-testing/assets dist-skill/
37+ [ -d "skills/typo3-testing/templates" ] && cp -r skills/typo3-testing/templates dist-skill/
38+ [ -d "skills/typo3-testing/examples" ] && cp -r skills/typo3-testing/examples dist-skill/
39+ [ -f "skills/typo3-testing/checkpoints.yaml" ] && cp skills/typo3-testing/checkpoints.yaml dist-skill/
40+ cd dist-skill
41+ zip -r ../typo3-testing-skill-${{ steps.version.outputs.version }}.zip .
42+ tar -czvf ../typo3-testing-skill-${{ steps.version.outputs.version }}.tar.gz .
43+
44+ - name : Create typo3-testing plugin package
45+ run : |
46+ mkdir -p dist-plugin
47+ # Include typo3-testing skill files
48+ mkdir -p dist-plugin/skills/typo3-testing
49+ cp skills/typo3-testing/SKILL.md dist-plugin/skills/typo3-testing/
50+ [ -d "skills/typo3-testing/references" ] && cp -r skills/typo3-testing/references dist-plugin/skills/typo3-testing/
51+ [ -d "skills/typo3-testing/scripts" ] && cp -r skills/typo3-testing/scripts dist-plugin/skills/typo3-testing/
52+ [ -d "skills/typo3-testing/assets" ] && cp -r skills/typo3-testing/assets dist-plugin/skills/typo3-testing/
53+ [ -d "skills/typo3-testing/templates" ] && cp -r skills/typo3-testing/templates dist-plugin/skills/typo3-testing/
54+ [ -d "skills/typo3-testing/examples" ] && cp -r skills/typo3-testing/examples dist-plugin/skills/typo3-testing/
55+ [ -f "skills/typo3-testing/checkpoints.yaml" ] && cp skills/typo3-testing/checkpoints.yaml dist-plugin/skills/typo3-testing/
56+ cp LICENSE dist-plugin/
3957 # Include plugin manifest
40- [ -d ".claude-plugin" ] && cp -r .claude-plugin dist/
41- cd dist
42- zip -r ../typo3-testing-${{ steps.version.outputs.version }}.zip .
43- tar -czvf ../typo3-testing-${{ steps.version.outputs.version }}.tar.gz .
58+ [ -d ".claude-plugin" ] && cp -r .claude-plugin dist-plugin /
59+ cd dist-plugin
60+ zip -r ../typo3-testing-plugin- ${{ steps.version.outputs.version }}.zip .
61+ tar -czvf ../typo3-testing-plugin- ${{ steps.version.outputs.version }}.tar.gz .
4462
4563 - name : Create GitHub Release
46- uses : softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
64+ uses : softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
4765 with :
4866 files : |
49- typo3-testing-${{ steps.version.outputs.version }}.zip
50- typo3-testing-${{ steps.version.outputs.version }}.tar.gz
67+ typo3-testing-skill-${{ steps.version.outputs.version }}.zip
68+ typo3-testing-skill-${{ steps.version.outputs.version }}.tar.gz
69+ typo3-testing-plugin-${{ steps.version.outputs.version }}.zip
70+ typo3-testing-plugin-${{ steps.version.outputs.version }}.tar.gz
5171 generate_release_notes : true
5272 env :
5373 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments