From 36043f96ed0b229ce0c5dde150ef3aee5be20dc2 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Sat, 17 Dec 2022 13:31:44 +0000 Subject: [PATCH] added building of binary on release --- .github/workflows/amd64-release.yml | 17 +++++++++++++++++ .github/workflows/arm-release.yml | 17 +++++++++++++++++ .github/workflows/arm64-release.yml | 17 +++++++++++++++++ .github/workflows/windows-release.yml | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 .github/workflows/amd64-release.yml create mode 100644 .github/workflows/arm-release.yml create mode 100644 .github/workflows/arm64-release.yml create mode 100644 .github/workflows/windows-release.yml diff --git a/.github/workflows/amd64-release.yml b/.github/workflows/amd64-release.yml new file mode 100644 index 0000000..95976dc --- /dev/null +++ b/.github/workflows/amd64-release.yml @@ -0,0 +1,17 @@ +name: ghcr-push + +on: + release: + types: [created] + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.34 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64 \ No newline at end of file diff --git a/.github/workflows/arm-release.yml b/.github/workflows/arm-release.yml new file mode 100644 index 0000000..24a03f5 --- /dev/null +++ b/.github/workflows/arm-release.yml @@ -0,0 +1,17 @@ +name: ghcr-push + +on: + release: + types: [created] + +jobs: + release-linux-arm: + name: release linux/arm + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.34 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: arm \ No newline at end of file diff --git a/.github/workflows/arm64-release.yml b/.github/workflows/arm64-release.yml new file mode 100644 index 0000000..b42fa0b --- /dev/null +++ b/.github/workflows/arm64-release.yml @@ -0,0 +1,17 @@ +name: ghcr-push + +on: + release: + types: [created] + +jobs: + release-linux-arm64: + name: release linux/arm64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.34 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: arm64 \ No newline at end of file diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml new file mode 100644 index 0000000..156a843 --- /dev/null +++ b/.github/workflows/windows-release.yml @@ -0,0 +1,17 @@ +name: ghcr-push + +on: + release: + types: [created] + +jobs: + release-linux-windows: + name: release windows + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1.34 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: windows + goarch: amd64 \ No newline at end of file