diff --git a/.github/workflows/nightly-matrix.yml b/.github/workflows/nightly-matrix.yml index fc8f99882..fa3448167 100644 --- a/.github/workflows/nightly-matrix.yml +++ b/.github/workflows/nightly-matrix.yml @@ -25,6 +25,7 @@ jobs: shell: bash run: | echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV + echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV echo "${{ env.BRANCH_NAME }}" echo "RELEASE_CHANNEL=alpha" >> $GITHUB_ENV @@ -59,16 +60,16 @@ jobs: name: ${{ matrix.os }}-nightly path: build/*.* - # - name: Release - # uses: softprops/action-gh-release@v1 - # with: - # tag_name: ${{ env.RELEASE_VERSION }} - # name: Release ${{ env.RELEASE_VERSION }} - # files: build/*.* - # draft: false - # prerelease: true - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Release + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ env.RELEASE_VERSION }} + name: Release ${{ env.RELEASE_VERSION }} + files: build/*.* + draft: false + prerelease: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} linux-unit-test: name: Linux Unit Test