From 74df6537259c5af5f817786d97a6b5bc6f0a0aa6 Mon Sep 17 00:00:00 2001 From: Will Crichton Date: Mon, 29 Jul 2024 16:23:23 -0700 Subject: [PATCH] Fix release --- .github/workflows/release.yml | 12 +++++++++--- ide/LICENSE | 7 +++++++ ide/package-lock.json | 4 ++-- ide/package.json | 3 --- 4 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 ide/LICENSE diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0565132ad1..2b6450692a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,11 +80,17 @@ jobs: publish-extension: needs: publish-release runs-on: ubuntu-20.04 + defaults: + run: + working-directory: ./ide steps: - uses: actions/checkout@v1 - - run: cd ide && npm install - - run: cd ide && npm install -g vsce && vsce publish -p ${{ secrets.VSCODE_TOKEN }} - - run: cd ide && npm install -g ovsx && npx ovsx publish -p ${{ secrets.OVSX_TOKEN }} + - uses: actions/setup-node@v4 + with: + node-version: lts + - run: npm install + - run: npm install -g vsce && vsce publish -p ${{ secrets.VSCODE_TOKEN }} + - run: npm install -g ovsx && npx ovsx publish -p ${{ secrets.OVSX_TOKEN }} publish-crate: needs: publish-extension diff --git a/ide/LICENSE b/ide/LICENSE new file mode 100644 index 0000000000..0bb8f0bf35 --- /dev/null +++ b/ide/LICENSE @@ -0,0 +1,7 @@ +Copyright 2021 Will Crichton + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/ide/package-lock.json b/ide/package-lock.json index b7c9898c0b..1ab3075c1c 100644 --- a/ide/package-lock.json +++ b/ide/package-lock.json @@ -1,12 +1,12 @@ { "name": "flowistry", - "version": "0.5.40", + "version": "0.5.42", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "flowistry", - "version": "0.5.40", + "version": "0.5.42", "license": "MIT", "dependencies": { "@types/ws": "^8.5.4", diff --git a/ide/package.json b/ide/package.json index 1b23f16a8d..7ef052cd4f 100644 --- a/ide/package.json +++ b/ide/package.json @@ -27,9 +27,6 @@ "onLanguage:rust" ], "main": "./out/extension.js", - "files": [ - "out" - ], "contributes": { "commands": [ {