Skip to content

Commit

Permalink
fix(ci): Updates to workflow for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
mammerla committed Sep 9, 2024
1 parent 990d261 commit cf26f4e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Create Release
on:
workflow_dispatch:

permissions:
contents: read

jobs:
build-and-publish:
runs-on: windows-latest
Expand All @@ -16,7 +19,7 @@ jobs:
pull-requests: write
security-events: none
checks: none
id-token: none
id-token: write
issues: write
repository-projects: none
statuses: none
Expand Down Expand Up @@ -59,6 +62,7 @@ jobs:
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Deploy to GitHub Pages
if: success()
Expand Down
12 changes: 12 additions & 0 deletions app/jsnode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
"version": "0.2.9",
"productName": "Minecraft Creator Tools",
"description": "Minecraft Creator Tools command line and libraries.",
"keywords": [
"minecraft",
"tools",
"bedrock",
"add-on",
"creator"
],
"bugs": {
"url": "https://aka.ms/mctbugs"
},
"license": "https://aka.ms/mctlicense",
"homepage": "https://aka.ms/mcthomepage",
"bin": {
"mct": "./cli/index.js"
},
Expand Down
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
"type": "git",
"url": "https://github.com/Mojang/minecraft-creator-tools.git"
},
"keywords": [
"minecraft",
"tools",
"bedrock",
"add-on",
"creator"
],
"bugs": {
"url": "https://aka.ms/mctbugs"
},
"license": "https://aka.ms/mctrlicense",
"homepage": "https://aka.ms/mcthomepage",
"release": {
"branches": [
"main"
Expand Down

0 comments on commit cf26f4e

Please sign in to comment.