Skip to content

Commit

Permalink
Remove safety prerelease flags. Use debugger beta in non-ci builds. F…
Browse files Browse the repository at this point in the history
…ix npm cache path hopefully?
  • Loading branch information
joelday committed Jan 2, 2023
1 parent b3790eb commit fd79eff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
- name: Cache NPM
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('src/**/package-lock.json') }}
path: "%LOCALAPPDATA%/npm-cache"
key: ${{ runner.os }}-npm-${{ hashFiles('src/*/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void UpdateDebugPlugin()
}

// TODO: Move debug server to the monorepo.
var pluginDllZip = isPrerelease ?
var pluginDllZip = isPrerelease || !isCIBuild ?
DownloadFile("https://github.com/joelday/papyrus-debug-server/releases/download/1.57.0-beta1/papyrus-debug-server.zip") :
DownloadFile("https://github.com/joelday/papyrus-debug-server/releases/latest/download/papyrus-debug-server.zip");

Expand Down
4 changes: 2 additions & 2 deletions src/papyrus-lang-vscode/.releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"@semantic-release/git",
{
"path": "@semantic-release/exec",
"cmd": "vsce package --no-git-tag-version --no-update-package-json --githubBranch %BRANCH_NAME% %PRERELEASE_FLAG% --pre-release --out papyrus-lang-vscode.vsix %VERSION%"
"cmd": "vsce package --no-git-tag-version --no-update-package-json --githubBranch %BRANCH_NAME% %PRERELEASE_FLAG% --out papyrus-lang-vscode.vsix %VERSION%"
}
],
"publish": [
{
"path": "@semantic-release/exec",
"cmd": "vsce publish --skip-duplicate --packagePath papyrus-lang-vscode.vsix %PRERELEASE_FLAG% --pre-release"
"cmd": "vsce publish --skip-duplicate --packagePath papyrus-lang-vscode.vsix %PRERELEASE_FLAG%"
},
{
"path": "@semantic-release/github",
Expand Down

0 comments on commit fd79eff

Please sign in to comment.