Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| edfdc40aea | |||
| e4ab003a9d |
@@ -29,20 +29,19 @@ jobs:
|
||||
mkdir -p dist
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o "dist/judge-linux-amd64" ./cmd/cli
|
||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o "dist/judge-windows-amd64.exe" ./cmd/cli
|
||||
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o "dist/judge-darwin-arm64" ./cmd/cli
|
||||
|
||||
- name: Build VS Code extension
|
||||
shell: bash
|
||||
run: |
|
||||
npm install -g @vscode/vsce
|
||||
cd editor/vscode-jdg
|
||||
vsce package -o "../../dist/jdg-language-${{ github.ref_name }}.vsix"
|
||||
vsce package --allow-missing-repository -o "../../dist/jdg-language.vsix"
|
||||
|
||||
- name: Create release
|
||||
uses: https://gitea.com/actions/gitea-release-action@main
|
||||
with:
|
||||
files: |-
|
||||
dist/judge-linux-amd64
|
||||
dist/judge-windows-amd64.exe
|
||||
dist/jdg-language-${{ github.ref_name }}.vsix
|
||||
dist/*
|
||||
api_key: ${{ secrets.RELEASE_TOKEN }}
|
||||
title: ${{ github.ref_name }}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"description": "Syntax highlighting for judge test-suite files",
|
||||
"version": "0.1.0",
|
||||
"publisher": "judge",
|
||||
"repository": {"type": "git", "url": "https://gitea.mkorn.me/admin/judge"},
|
||||
"engines": { "vscode": "^1.60.0" },
|
||||
"categories": ["Programming Languages"],
|
||||
"contributes": {
|
||||
|
||||
Reference in New Issue
Block a user