diff options
author | Colin Marc <hi@colinmarc.com> | 2022-02-05 23:02:26 +0100 |
---|---|---|
committer | Colin Marc <hi@colinmarc.com> | 2022-02-05 23:03:29 +0100 |
commit | 87fd60d186a8c2809c94eec5bd7fec9e506e2438 (patch) | |
tree | 2c6e3a1e8c4bde011d97b4545537bb366506ae73 | |
parent | a0dd10389229d32dc08a9d14e6c958283c5efaf3 (diff) |
Fixup release workflow
-rw-r--r-- | .github/workflows/release.yml | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d974f23..32644cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,31 +9,17 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Release - uses: softprops/action-gh-release@v1 -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: 1.17 - workflow_dispatch: + # Touching the generated proto files ensures that make will not try to + # regenerate them. + - name: make release + run: find -name '*.pb.go' -exec touch {} \; && make release -jobs: - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 - with: - go-version: 1.17 - - # Touching the generated proto files ensures that make will not try to - # regenerate them. - - name: make release - run: find -name '*.pb.go' -exec touch {} \; && make release - - - name: Upload Release - uses: softprops/action-gh-release@v1 - with: - files: gohdfs-*-linux-amd64.tar.gz
\ No newline at end of file + - name: Upload Release + uses: softprops/action-gh-release@v1 + with: + files: gohdfs-*-linux-amd64.tar.gz
\ No newline at end of file |