From 4152262ed6bf4c0cf8db815da731fc4f90ed2fcf Mon Sep 17 00:00:00 2001 From: JChicomeSan <57263663+ChicomeMX7@users.noreply.github.com> Date: Tue, 12 Sep 2023 00:34:14 -0600 Subject: [PATCH] test (#3) * 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] --- .github/workflows/Release.yml | 25 +++++++++++++++++++++++++ .github/workflows/main.yml | 21 +++++++++++++++++++++ .gitignore | 1 + release_notes | 3 +++ 4 files changed, 50 insertions(+) create mode 100644 .github/workflows/Release.yml create mode 100644 .github/workflows/main.yml create mode 100644 .gitignore create mode 100644 release_notes diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml new file mode 100644 index 0000000..72d9f43 --- /dev/null +++ b/.github/workflows/Release.yml @@ -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" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..22f2dea --- /dev/null +++ b/.github/workflows/main.yml @@ -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 ./... diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..821c19d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.github \ No newline at end of file diff --git a/release_notes b/release_notes new file mode 100644 index 0000000..fdb0d99 --- /dev/null +++ b/release_notes @@ -0,0 +1,3 @@ +Changes in this Release +- First Change +- Second Change \ No newline at end of file