ci: build binaries - uncomment create release
@@ -269,20 +269,17 @@ jobs:
# S3OPTIONS: '--recursive --exclude "*" --include "*.zip*"'
# S3OPTIONS: '--acl public-read'
-# "The workflow is not valid. .github/workflows/base_node_binaries.yml (Line: 273, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.AWS_SECRET_ACCESS_KEY != '' ...
- # create-release:
- # runs-on: ubuntu-latest
- # needs: builds
- # if: ${{ env.AWS_SECRET_ACCESS_KEY != '' && matrix.os != 'self-hosted' && startsWith(github.ref, 'refs/tags/v') }}
- # steps:
- # - name: Download binaries
- # uses: actions/download-artifact@v2
- # - name: Create release
- # uses: ncipollo/release-action@v1
- # with:
- # artifacts: "tari_*/**/*"
- # token: ${{ secrets.GITHUB_TOKEN }}
- # prerelease: true
- # draft: true
- # env:
- # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
+ create-release:
+ runs-on: ubuntu-latest
+ needs: builds
+ if: ${{ startsWith(github.ref, 'refs/tags/v') }}
+ steps:
+ - name: Download binaries
+ uses: actions/download-artifact@v2
+ - name: Create release
+ uses: ncipollo/release-action@v1
+ with:
+ artifacts: "tari_*/**/*"
+ token: ${{ secrets.GITHUB_TOKEN }}
+ prerelease: true
+ draft: true
