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/**