Create vmessping.yml

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 4 years ago committed by GitHub
parent b32c916348
commit 58f17a9b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 44
      .github/workflows/vmessping.yml

@ -0,0 +1,44 @@
name: Cross compile VMessPing
on:
workflow_dispatch:
jobs:
WireGuard-go:
name: Cross compile VMessPing
runs-on: ubuntu-20.04
env:
workdir: ./vmessping-source
steps:
- name: Checkout code
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Git clone VMessPing
run: |
git clone https://github.com/v2fly/vmessping.git
cp ./.github/vmessping-releaser.yml ${{ env.workdir }}/.goreleaser.yml
- name: Set up GoReleaser
uses: actions/setup-go@v2
with:
go-version: "1.18"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
workdir: ${{ env.workdir }}
version: latest
args: release --rm-dist
- name: Release binaries
uses: softprops/action-gh-release@v1
with:
tag_name: VMessPing
files: ${{ env.workdir }}/dist/*.tar.gz
Loading…
Cancel
Save