Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.0 #4

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 25 additions & 14 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,39 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

name: Release
on:
push:
branches: [ "release" ]
pull_request:
branches: [ "release" ]

jobs:

build:
name: Build
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.0'
# Fetch depth 0 is required for Changelog generation
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# ... do your compile, testing, bumpr, releasr steps here.
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.0'
- name: Build
run: go build -v -ldflags="-H windowsgui -o ./RemoteController.exe"

- name: Build
run: go build -v -ldflags="-H windowsgui"
- name: Test
run: go test -v ./...

- name: Test
run: go test -v ./...
- name: Publish Release
id: publish
uses: packagrio/action-publishr-go@master
env:
# This is necessary in order to push a commit to the repo
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
with:
# upload any assets to your github release
upload_assets: 'RemoteController.exe'
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package main

import (
// "time"
"github.com/PiterWeb/RemoteController/src/desktop"
// "github.com/PiterWeb/RemoteController/src/gamepad"
)

func main() {
Expand Down
Loading