3 Commits

Author SHA1 Message Date
8aea2806e0 fix license
Some checks failed
Release / Build & publish (push) Failing after 21s
2026-04-07 09:56:30 +03:00
edfdc40aea fix repo miss vsix
All checks were successful
Release / Build & publish (push) Successful in 1m35s
2026-04-07 09:54:00 +03:00
e4ab003a9d add mac, fix vsix release
All checks were successful
Release / Build & publish (push) Successful in 37s
2026-04-07 09:51:53 +03:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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 --allow-missing-license -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 }}

View File

@@ -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": {