From 7e7956cdd2a8b7515eff903999dd6a8d554a2242 Mon Sep 17 00:00:00 2001 From: Leonardo Graboski Veiga Date: Wed, 10 Apr 2024 09:34:52 -0300 Subject: [PATCH] gh and vscode: rename binary With Python removed, the "-go" prepended to the app name becomes annoying and irrelevant. Signed-off-by: Leonardo Graboski Veiga --- .github/workflows/build.yml | 12 ++++++------ .vscode/tasks.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5186100..55a743d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ on: jobs: build-go: - name: Build Go App + name: Build App runs-on: ubuntu-latest steps: - name: Checkout repository @@ -26,11 +26,11 @@ jobs: with: go-version: '>=1.18.1' - - name: Build Go app - run: go build -o dist/sugar-go sugar.go + - name: Build app + run: go build -o dist/sugar sugar.go - - name: Bundle Go app + - name: Bundle app uses: actions/upload-artifact@v4 with: - name: sugar-go - path: dist/sugar-go + name: sugar + path: dist/sugar diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 6e65569..7d3a55f 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -8,7 +8,7 @@ "args": [ "build", "-o", - "dist/sugar-go", + "dist/sugar", "sugar.go" ], "group": {