Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zoidyzoidzoid committed Mar 30, 2021
1 parent d28c7a7 commit c8db6d7
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,12 @@ jobs:
./bazelisk-linux-amd64 build --platforms=@io_bazel_rules_go//go/toolchain:${{ matrix.platform }} //container/go/cmd/puller:puller //container/go/cmd/loader:loader
./bazelisk-linux-amd64 run --run_under "cp -f " //container/go/cmd/puller:puller $(pwd)/puller-lnux-${{ steps.release_version.outputs.VERSION }}-${{ steps.arch.outputs.ARCH }}
./bazelisk-linux-amd64 run --run_under "cp -f " //container/go/cmd/loader:loader $(pwd)/loader-lnux-${{ steps.release_version.outputs.VERSION }}-${{ steps.arch.outputs.ARCH }}
- name: get release URL
id: get_release
uses: bruceadams/get-release@v1.2.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: upload
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
files: |
puller-lnux-${{ steps.release_version.outputs.VERSION }}-${{ steps.arch.outputs.ARCH }}
loader-lnux-${{ steps.release_version.outputs.VERSION }}-${{ steps.arch.outputs.ARCH }}
puller-linux-${{ steps.release_version.outputs.VERSION }}-${{ steps.arch.outputs.ARCH }}
loader-linux-${{ steps.release_version.outputs.VERSION }}-${{ steps.arch.outputs.ARCH }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -69,14 +63,8 @@ jobs:
./bazelisk-darwin-amd64 build --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //container/go/cmd/puller:puller //container/go/cmd/loader:loader
./bazelisk-darwin-amd64 run --run_under "cp -f " //container/go/cmd/puller:puller $(pwd)/puller-darwin-${{ steps.release_version.outputs.VERSION }}-x86_64
./bazelisk-darwin-amd64 run --run_under "cp -f " //container/go/cmd/loader:loader $(pwd)/loader-darwin-${{ steps.release_version.outputs.VERSION }}-x86_64
- name: get release URL
id: get_release
uses: bruceadams/get-release@v1.2.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: upload
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
files: |
puller-darwin-${{ steps.release_version.outputs.VERSION }}-x86_64
Expand Down

0 comments on commit c8db6d7

Please sign in to comment.