From 51ddbf3815aa47525d33453c96ce283289b45624 Mon Sep 17 00:00:00 2001 From: gadotroee <55343099+gadotroee@users.noreply.github.com> Date: Tue, 8 Jun 2021 15:01:23 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aab919d8f..aae078ea3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,16 +1,34 @@ -name: Release -on: +name: Releases + +on: push: - branches: + branches: - my-temp-release-check + jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: GH Release - uses: softprops/action-gh-release@v0.1.5 - with: - name: ${GITHUB_SHA} - files: | - - cli/bin/** + - uses: actions/checkout@v2 + - uses: ncipollo/release-action@v1 + with: + artifacts: "cli/bin/**" + token: ${{ secrets.GITHUB_TOKEN }} + commmit: my-temp-release-check + tag: v0.0.1 +# name: Release +# on: +# push: +# branches: +# - my-temp-release-check +# jobs: +# build: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v2 +# - name: GH Release +# uses: softprops/action-gh-release@v0.1.5 +# with: +# name: ${GITHUB_SHA} +# files: | +# - cli/bin/**