Skip to content

Commit

Permalink
Fixup release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmarc committed Feb 5, 2022
1 parent a0dd103 commit 87fd60d
Showing 1 changed file with 12 additions and 26 deletions.
38 changes: 12 additions & 26 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- name: Upload Release
uses: softprops/action-gh-release@v1
with:
files: gohdfs-*-linux-amd64.tar.gz

0 comments on commit 87fd60d

Please sign in to comment.