Skip to content

Commit 7b12a8d

Browse files
committed
remove unused stuff
1 parent d371673 commit 7b12a8d

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release arduino-app-cli
1+
name: Release
22

33
on:
44
push:
@@ -34,10 +34,6 @@ jobs:
3434
with:
3535
fetch-depth: 0
3636

37-
- name: Configure Git for private repo cloning
38-
run: |
39-
git config --global url."https://${{ env.GITHUB_USERNAME }}:${{ env.GITHUB_TOKEN }}@github.com".insteadOf "https://github.com"
40-
4137
- name: Set up Go
4238
uses: actions/setup-go@v5
4339
with:
@@ -49,18 +45,6 @@ jobs:
4945
version: 3.x
5046
repo-token: ${{ secrets.GITHUB_TOKEN }}
5147

52-
- name: Build Binary
53-
env:
54-
GOARCH: ${{ matrix.arch }}
55-
run: |
56-
export CGO_ENABLED=0
57-
58-
mkdir -p build
59-
go build -v -ldflags "-s -w -X 'main.Version=${TAG_VERSION}'" -o ./build/${{ env.PROJECT_NAME }} ./cmd/arduino-app-cli
60-
chmod +x ./build/${{ env.PROJECT_NAME }}
61-
tar -czvf ./build/${{ env.PROJECT_NAME }}-${TAG_VERSION}-${{ matrix.platform-name }}-${{ matrix.arch }}.tar.gz -C ./build ${{ env.PROJECT_NAME }}
62-
rm ./build/${{ env.PROJECT_NAME }}
63-
6448
- name: Build deb
6549
if: matrix.platform-name == 'linux'
6650
run: |
@@ -72,5 +56,5 @@ jobs:
7256
token: ${{ secrets.GITHUB_TOKEN }}
7357
draft: false
7458
prerelease: true
75-
artifacts: build/*.tar.gz,build/*.deb
59+
artifacts: build/*.deb
7660
allowUpdates: true

0 commit comments

Comments
 (0)