diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 3d2f492..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,80 +0,0 @@ -name: Generate Release Build - -on: - push: -# tags: -# - 'v*' - -jobs: - release_build: - runs-on: ubuntu-latest - steps: - #- - # name: Installing getlantern/systray dependencies... - # run: sudo apt install gcc gcc-multilib libgtk-3-dev libappindicator3-dev libwebkit2gtk-4.0-dev - - - name: Checkout - uses: actions/checkout@v2 - - - name: Unshallow - run: git fetch --prune --unshallow - - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.14 - - name: Golang CGO cross compiler - uses: crazy-max/ghaction-xgo@v1.3.0 - with: - # xgo version - # xgo_version: # optional, default is latest - - # Go release to use for cross compilation - #go_version: # optional, default is latest - - # Destination folder to put binaries in - dest: build # optional, default is build - - # Sub-package to build if not root import - #pkg: # optional - - # Prefix to use for output naming. Default to package name - #prefix: # optional - - # Comma separated targets to build for. Example: windows/amd64,linux/386 - targets: windows/386,windows/amd64,linux/386,linux/amd64,darwin/amd64 # optional, default is */* - - # Prints the names of packages as they are compiled - v: true # optional, default is false - - # Prints the build commands as compilation progresses - x: true # optional, default is false - - # Indicates which kind of object file to build - #buildmode: # optional, default is default - - # Arguments to pass on each go tool link invocation - #ldflags: # optional - #- name: (Gitflow) Changelog Generator - # uses: homeday-de/github-action-changelog-generator@v1.0.0 - # with: - # # As provided by Github Actions - # token: ${{ secrets.GITHUB_TOKEN }} - - name: Create Release - uses: actions/create-release@v1.0.0 - id: create_release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - #body: ${{ steps.generate_changelog.outputs.changelog }} - draft: false - prerelease: false - - name: xbin - Cross Binary Releaser - uses: GlenTiki/xbin-release-action@v1.0.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - assets_path: build