Skip to content

Commit 85f9e18

Browse files
authored
Update go.yml
1 parent b341f47 commit 85f9e18

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/go.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ jobs:
2020
go-version: '1.22' # Projenizde kullandığınız Go sürümüne göre ayarlayın
2121

2222
- name: Build for Linux
23-
run: GOOS=linux GOARCH=amd64 go build -o app-linux
23+
run: GOOS=linux GOARCH=amd64 go build -o custom-cache-linux
2424

2525
- name: Build for Windows
26-
run: GOOS=windows GOARCH=amd64 go build -o app-windows.exe
26+
run: GOOS=windows GOARCH=amd64 go build -o custom-cache-windows.exe
2727

2828
- name: Build for macOS
29-
run: GOOS=darwin GOARCH=amd64 go build -o app-macos
29+
run: GOOS=darwin GOARCH=amd64 go build -o custom-cache-macos
3030

3131
- name: Archive builds
3232
uses: actions/upload-artifact@v2
3333
with:
3434
name: builds
3535
path: |
36-
app-linux
37-
app-windows.exe
38-
app-macos
36+
custom-cache-linux
37+
custom-cache-windows.exe
38+
custom-cache-macos
3939
4040
release:
4141
name: Create Release
@@ -69,8 +69,8 @@ jobs:
6969
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7070
with:
7171
upload_url: ${{ steps.create_release.outputs.upload_url }}
72-
asset_path: ./app-linux
73-
asset_name: app-linux
72+
asset_path: ./custom-cache-linux
73+
asset_name: custom-cache-linux
7474
asset_content_type: application/octet-stream
7575

7676
- name: Upload Windows Release Asset
@@ -80,8 +80,8 @@ jobs:
8080
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8181
with:
8282
upload_url: ${{ steps.create_release.outputs.upload_url }}
83-
asset_path: ./app-windows.exe
84-
asset_name: app-windows.exe
83+
asset_path: ./custom-cache-windows.exe
84+
asset_name: custom-cache-windows.exe
8585
asset_content_type: application/octet-stream
8686

8787
- name: Upload macOS Release Asset
@@ -91,6 +91,6 @@ jobs:
9191
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9292
with:
9393
upload_url: ${{ steps.create_release.outputs.upload_url }}
94-
asset_path: ./app-macos
95-
asset_name: app-macos
94+
asset_path: ./custom-cache-macos
95+
asset_name: custom-cache-macos
9696
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)