diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 76033d7..49bd0eb 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -14,20 +14,18 @@ jobs: runs-on: ubuntu-latest outputs: upload_url: ${{ steps.create_release.outputs.upload_url }} - tag: ${{ steps.tag.outputs.tag }} steps: - - name: 'Generate Tag' - run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/} - if: startsWith(github.ref, 'refs/tags/v') - id: tag - name: 'Create Release' id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ steps.tag.outputs.tag }} - release_name: Release ${{ steps.tag.outputs.tag }} + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false + build-linux: runs-on: ubuntu-latest needs: release