Skip to content

Commit

Permalink
remove the if from the publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Aug 23, 2022
1 parent 51a855d commit f816bcb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,15 @@ jobs:
- name: Build
run: ${{ matrix.go_opts }} go build -o ${{ runner.workspace }}/build ./...

- if: github.ref == 'refs/heads/main'
name: Upload zssh binaries to release
- name: Upload zssh binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ runner.workspace }}/build/${{ matrix.zssh_artifact_name }}
asset_name: ${{ matrix.zssh_asset_name }}
tag: ${{ github.ref }}

- if: github.ref == 'refs/heads/main'
name: Upload zscp binaries to release
- name: Upload zscp binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f816bcb

Please sign in to comment.