diff options
author | Stephan Dilly <dilly.stephan@gmail.com> | 2020-04-15 21:34:53 +0200 |
---|---|---|
committer | Stephan Dilly <dilly.stephan@gmail.com> | 2020-04-15 21:34:53 +0200 |
commit | 35f50440e7bb6a850e5b991adc12b8d541eca65b (patch) | |
tree | ed84cf785a04f5cfdcd5ca3398683caaade3780b | |
parent | 711d5cb7b4b40c4da65d0e04b465c3e5763c2193 (diff) |
try different action to do releases/assetsv0.1.8
-rw-r--r-- | .github/workflows/cd.yml | 33 |
1 files changed, 5 insertions, 28 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index e32bc79f..8da319d7 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -37,38 +37,15 @@ jobs: run: | echo ::set-output name=sha::"$(shasum -a 256 ./release/gitui-mac.tar.gz | awk '{printf $1}')" - - name: Create Release + - name: Release id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v1 with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: true - - - name: Upload Release Asset - if: matrix.os == 'macos-latest' - uses: actions/upload-release-asset@v1 + #body: 'changelog ' + files: | + ./release/*.tar.gz env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./release/gitui-mac.tar.gz - asset_name: gitui-mac.tar.gz - asset_content_type: application/gzip - - - name: Upload Release Asset - if: matrix.os == 'ubuntu-latest' - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./release/gitui-linux.tar.gz - asset_name: gitui-linux.tar.gz - asset_content_type: application/gzip - name: Bump Brew if: matrix.os == 'macos-latest' |