Skip to content

Commit

Permalink
Create myexe.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGode authored Mar 31, 2024
1 parent 08497f9 commit 81d6395
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/myexe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and Upload Windows EXE

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build-and-upload:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Build executable
run: go build -o myapp.exe ./...
# Ensure this command correctly builds your .exe. Adjust as needed.

- name: Upload EXE as artifact
uses: actions/upload-artifact@v4
with:
name: windows-exe
path: myapp.exe

0 comments on commit 81d6395

Please sign in to comment.