Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate using official actions for drafting a release #37

Open
khalidx opened this issue Apr 26, 2022 · 0 comments
Open

Investigate using official actions for drafting a release #37

khalidx opened this issue Apr 26, 2022 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@khalidx
Copy link
Owner

khalidx commented Apr 26, 2022

Rather than using the GitHub recommended, although third-party action for drafting a release and uploading files to it in .github/workflows/build.yml, use the default (although archived) actions provided in the actions repository for GitHub Actions:

Alternatively, rather than relying on archived actions projects, it seems that a solution can be put together manually based on the options mentioned here:

For reference on configuring the third-party action mentioned at the start of this issue, see the block below (which on initial test did not work - the step was skipped in the build even though a tag was pushed):

    - name: Draft Release
      # See more information about this step at https://github.com/softprops/action-gh-release
      uses: softprops/action-gh-release@v1
      if: startsWith(github.ref, 'refs/tags/')
      with:
        draft: true
        prerelease: true
        generate_release_notes: true
        fail_on_unmatched_files: true
        files: |
          ./exec/cfs-linux
          ./exec/cfs-macos
          ./exec/cfs-win.exe
@khalidx khalidx added the enhancement New feature or request label Apr 26, 2022
@khalidx khalidx changed the title Investigate using official GitHub Actions for drafting a release Investigate using official actions for drafting a release Apr 26, 2022
@khalidx khalidx added the question Further information is requested label Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant