Skip to content

Commit

Permalink
The most significant change in the code is the replacement of the `GI…
Browse files Browse the repository at this point in the history
…THUB_TOKEN` with `MY_PAT` in the `env` section of the `Create Release` job. This suggests a shift from using a GitHub token for authentication to a Personal Access Token (PAT).

List of Changes:
1. The `GITHUB_TOKEN` in the `env` section of the `Create Release` job has been replaced with `MY_PAT`. This indicates a change in the authentication method from a GitHub token to a Personal Access Token (PAT).

The rest of the code, including the creation of a zip file and the creation of a release with a specific tag name and release name, remains unchanged. The release is not a draft and is marked as a pre-release.
  • Loading branch information
BoiHanny committed Jan 25, 2024
1 parent 1d1a3bf commit 84a5149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ jobs:
Compress-Archive -Path vrcosc-magicchatbox/bin/Release/net6.0-windows10.0.22000.0/* -DestinationPath "MagicChatbox-${{ steps.get_version.outputs.VERSION }}.zip"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MY_PAT }} # Replace 'GITHUB_TOKEN' with your secret name
with:
tag_name: v${{ steps.get_version.outputs.VERSION }}
release_name: MagicChatbox Pre-v${{ steps.get_version.outputs.VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion vrcosc-magicchatbox/MagicChatbox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<Version>0.8.730</Version>
<Version>0.8.731</Version>
<TargetFramework>net6.0-windows10.0.22000.0</TargetFramework>
<RootNamespace>vrcosc_magicchatbox</RootNamespace>
<Nullable>enable</Nullable>
Expand Down

0 comments on commit 84a5149

Please sign in to comment.