mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-07-28 01:32:04 +00:00
remove main.yml and fix branches
This commit is contained in:
21
.github/workflows/main.yml
vendored
21
.github/workflows/main.yml
vendored
@@ -1,21 +0,0 @@
|
||||
name: Releases
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
# - my-temp-release-check
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build CLI
|
||||
run: cd cli && make build-all
|
||||
# - uses: ncipollo/release-action@v1
|
||||
# with:
|
||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# artifacts: "cli/bin/**/" ## ??
|
||||
# commit: my-temp-release-check ## ??
|
||||
# tag: v0.0.2 ## TODO: get it from a variable or function ? (should include branch name and sem ver)
|
||||
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -3,7 +3,8 @@ name: Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- my-temp-release-check
|
||||
- develop
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -23,6 +24,6 @@ jobs:
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
artifacts: "cli/bin/**"
|
||||
artifacts: "cli/bin/*"
|
||||
commit: ${{ steps.version_parameters.outputs.branch }}
|
||||
tag: ${{ steps.version_parameters.outputs.cal_ver }}
|
||||
Reference in New Issue
Block a user