From f81cf69d68abf0965f66770dec979646bdc898b0 Mon Sep 17 00:00:00 2001 From: kiwiidb Date: Mon, 10 Jan 2022 10:26:19 +0100 Subject: [PATCH] artifact name --- .github/workflows/workflow.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 2770f41..7b4f3bc 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -22,9 +22,9 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Build - run: CGO_ENABLED=1 GOOS=linux go build -a -ldflags '-linkmode external -extldflags "-static"' -o main + run: CGO_ENABLED=1 GOOS=linux go build -a -ldflags '-linkmode external -extldflags "-static"' - name: Create a release uses: ncipollo/release-action@v1 with: - artifacts: "main" + artifacts: ${{ github.event.repository.name }} token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} \ No newline at end of file