diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 4dd162f45..000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -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) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5675dc2d0..b83a1beb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file