@@ -73,27 +73,12 @@ jobs:
7373 git add package* && git commit -m "chore(release): $NEW_VERSION [skip ci]"
7474
7575 # Install dependencies after the version update so that
76- # the build outputs refer to the newest version of inner packages
76+ # the build outputs refer to the newest version of inner packages
7777 - uses : ./.github/actions/install-dependencies
7878
7979 - name : Build packages
8080 run : npm run build
8181
82- - name : Publish scratch-svg-renderer
83- run : npm publish --access=public --tag="${{steps.npm_tag.outputs.npm_tag}}" --workspace=@scratch/scratch-svg-renderer
84- env :
85- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
86-
87- - name : Publish scratch-render
88- run : npm publish --access=public --tag="${{steps.npm_tag.outputs.npm_tag}}" --workspace=@scratch/scratch-render
89- env :
90- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
91-
92- - name : Publish scratch-vm
93- run : npm publish --access=public --tag="${{steps.npm_tag.outputs.npm_tag}}" --workspace=@scratch/scratch-vm
94- env :
95- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
96-
9782 - name : Publish scratch-gui
9883 run : npm publish --access=public --tag="${{steps.npm_tag.outputs.npm_tag}}" --workspace=@scratch/scratch-gui
9984 env :
@@ -121,30 +106,6 @@ jobs:
121106 git tag -f "${{github.event.release.tag_name}}" HEAD
122107 git push -f origin "refs/tags/${{github.event.release.tag_name}}"
123108
124- - name : Deploy scratch-svg-renderer to GitHub Pages
125- uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
126- with :
127- github_token : ${{ secrets.GITHUB_TOKEN }}
128- publish_dir : ./packages/scratch-svg-renderer/playground
129- destination_dir : scratch-svg-renderer
130- full_commit_message : " Build for ${{ github.sha }} ${{ github.event.head_commit.message }}"
131-
132- - name : Deploy scratch-render to GitHub Pages
133- uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
134- with :
135- github_token : ${{ secrets.GITHUB_TOKEN }}
136- publish_dir : ./packages/scratch-render/playground
137- destination_dir : scratch-render
138- full_commit_message : " Build for ${{ github.sha }} ${{ github.event.head_commit.message }}"
139-
140- - name : Deploy scratch-vm to GitHub Pages
141- uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
142- with :
143- github_token : ${{ secrets.GITHUB_TOKEN }}
144- publish_dir : ./packages/scratch-vm/playground
145- destination_dir : scratch-vm
146- full_commit_message : " Build for ${{ github.sha }} ${{ github.event.head_commit.message }}"
147-
148109 - name : Deploy scratch-gui to GitHub Pages
149110 uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
150111 with :
0 commit comments