Skip to content

Commit

Permalink
Code cleanup [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed Jul 7, 2023
1 parent 7dfa84f commit 0c4a26b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,43 +30,43 @@ jobs:
with:
node-version: 18

- name: Install dependencies
- name: 📦 Install dependencies
run: npm install

- name: Install vsce
- name: 🎁 Install vsce
run: npm install -g @vscode/vsce

- name: Install cross-env
- name: 🖥️ Install cross-env
run: npm install -g cross-env

- name: NBGV
- name: 🏷️ NBGV
uses: dotnet/nbgv@master
id: nbgv
with:
stamp: package.json

- name: NBGV outputs
- name: 🗣️ NBGV outputs
run: |
echo "SimpleVersion: ${{ steps.nbgv.outputs.SimpleVersion }}"
- name: Package
- name: 📦 Package
run: |
vsce package -o ./${{ github.event.repository.name}}.vsix
- name: Publish
- name: 📰 Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}

- name: Upload artifact
- name: ⬆️ Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name}}.vsix
path: |
"**/*.vsix"
- name: Tag and Release
- name: 🏷️ Tag and Release
id: tag_release
uses: softprops/action-gh-release@v1
with:
Expand Down
1 change: 0 additions & 1 deletion src/resxProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ export class ResxProvider implements vscode.CustomTextEditorProvider {
const webviewUri = webview.asWebviewUri(vscode.Uri.joinPath(this.context.extensionUri, 'out', 'webview.js'));
const nonce = getNonce();
const codiconsUri = webview.asWebviewUri(vscode.Uri.joinPath(this.context.extensionUri, 'media', 'codicon.css'));
const codiconsFont = webview.asWebviewUri(vscode.Uri.joinPath(this.context.extensionUri, 'media', 'codicon.ttf'));

return /*html*/ `
<!DOCTYPE html>
Expand Down

0 comments on commit 0c4a26b

Please sign in to comment.