Skip to content

Commit

Permalink
test (#3)
Browse files Browse the repository at this point in the history
* Create main.yml

* Release.yml

* ci: t-00 [-u:2023-09-12] (#2)

* ci: t-00 [-u:2023-09-12]

* ci: t-00 [-u:2023-09-12]
  • Loading branch information
ChicomeMX7 committed Sep 12, 2023
1 parent e06504f commit 4152262
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create Release

on:
push:
branches:
- 'main'
tags:
- 'v*'

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body_path: "./release_notes"
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Go-package

on: [push]
# merge:
# branches:
# - 'main'

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'

- name: Build
run: go build -v ./...
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github
3 changes: 3 additions & 0 deletions release_notes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Changes in this Release
- First Change
- Second Change

0 comments on commit 4152262

Please sign in to comment.