From f2ac3dc7680a3f172d387f0c6cac166e3eafa0d5 Mon Sep 17 00:00:00 2001 From: misyaguziya <53165965+misyaguziya@users.noreply.github.com> Date: Sat, 7 Jun 2025 21:54:47 +0900 Subject: [PATCH] [Update] Clean up comments and ensure permissions are set for release job --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8dbecba0..9264cdc0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,8 @@ jobs: release: name: Build VRCT runs-on: windows-latest + permissions: + contents: write steps: - name: Checkout code uses: actions/checkout@v4 @@ -16,17 +18,17 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '22.15.0' # プロジェクトに合わせて調整してください + node-version: '22.15.0' - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' # プロジェクトに合わせて調整してください + python-version: '3.11' - name: Set up Rust uses: actions-rs/toolchain@v1 with: - toolchain: stable # プロジェクトに合わせて調整してください + toolchain: stable profile: minimal override: true @@ -44,7 +46,7 @@ jobs: - name: Get version from tag id: get_version - shell: pwsh # 明示的に PowerShell を指定 + shell: pwsh run: | $TAG_WITH_V = $env:GITHUB_REF -replace "^refs/tags/", "" $VERSION_NUM = $TAG_WITH_V -replace "^v", ""