aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorCypherpunk Samurai2020-09-22 01:04:09 +0530
committerGitHub2020-09-22 01:04:09 +0530
commitc68bdf07f3d88fab68b7c790b02de50d4cca1a78 (patch)
tree0794aca1a04ad6e150167b9063761081916a0b0e /.github
parent31d0829c180795d17e00b7a354fffe4d72be712b (diff)
downloadgdrive-c68bdf07f3d88fab68b7c790b02de50d4cca1a78.tar.bz2
Added Automated Release Github Action
Automatically compiles binaries for most common platforms and adds them to the release
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yaml89
1 files changed, 89 insertions, 0 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
new file mode 100644
index 0000000..4b4ef3b
--- /dev/null
+++ b/.github/workflows/release.yaml
@@ -0,0 +1,89 @@
+# .github/workflows/release.yaml
+
+on: release
+name: Build Release
+jobs:
+ release-linux-386:
+ name: release linux/386
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: compile and release
+ uses: ngs/go-release.action@v1.0.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GOARCH: "386"
+ GOOS: linux
+ EXTRA_FILES: "LICENSE"
+ release-linux-amd64:
+ name: release linux/amd64
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: compile and release
+ uses: ngs/go-release.action@v1.0.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GOARCH: amd64
+ GOOS: linux
+ EXTRA_FILES: "LICENSE"
+ release-linux-arm:
+ name: release linux/386
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: compile and release
+ uses: ngs/go-release.action@v1.0.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GOARCH: "arm"
+ GOOS: linux
+ EXTRA_FILES: "LICENSE"
+ release-linux-arm64:
+ name: release linux/amd64
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: compile and release
+ uses: ngs/go-release.action@v1.0.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GOARCH: arm64
+ GOOS: linux
+ EXTRA_FILES: "LICENSE"
+ release-darwin-amd64:
+ name: release darwin/amd64
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: compile and release
+ uses: ngs/go-release.action@v1.0.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GOARCH: amd64
+ GOOS: darwin
+ EXTRA_FILES: "LICENSE"
+ release-windows-386:
+ name: release windows/386
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: compile and release
+ uses: ngs/go-release.action@v1.0.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GOARCH: "386"
+ GOOS: windows
+ EXTRA_FILES: "LICENSE"
+ release-windows-amd64:
+ name: release windows/amd64
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: compile and release
+ uses: ngs/go-release.action@v1.0.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GOARCH: amd64
+ GOOS: windows
+ EXTRA_FILES: "LICENSE"