From b6d6439b9c461e183f5693cc977211c1cd62d774 Mon Sep 17 00:00:00 2001 From: JChicomeSan <57263663+ChicomeMX7@users.noreply.github.com> Date: Mon, 11 Sep 2023 23:57:04 -0600 Subject: [PATCH 1/4] Create main.yml --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml 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 ./... From 76759d844ef4c949c09db8cf5e7daee75ff01cf0 Mon Sep 17 00:00:00 2001 From: JChicomeSan <57263663+ChicomeMX7@users.noreply.github.com> Date: Tue, 12 Sep 2023 00:26:31 -0600 Subject: [PATCH 2/4] Release.yml --- .github/workflows/Release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/Release.yml 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" From 60f6bd0254fdd752e373f3c141f7353f8f56b99b Mon Sep 17 00:00:00 2001 From: JChicomeSan <57263663+ChicomeMX7@users.noreply.github.com> Date: Tue, 12 Sep 2023 00:29:08 -0600 Subject: [PATCH 3/4] ci: t-00 [-u:2023-09-12] (#2) * ci: t-00 [-u:2023-09-12] * ci: t-00 [-u:2023-09-12] --- .gitignore | 1 + release_notes | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .gitignore create mode 100644 release_notes 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 From a2955de831d4a585af3a9aa28f931bedc616393d Mon Sep 17 00:00:00 2001 From: JChicomeSan <57263663+ChicomeMX7@users.noreply.github.com> Date: Tue, 12 Sep 2023 00:39:14 -0600 Subject: [PATCH 4/4] Update Release.yml --- .github/workflows/Release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 72d9f43..ce49085 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -10,6 +10,7 @@ on: jobs: build: name: Create Release + permissions: write-all runs-on: ubuntu-latest steps: - name: Checkout code