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