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

Upload workflow artifacts to prerelease #1275

Closed

Conversation

Vinfall
Copy link
Contributor

@Vinfall Vinfall commented Feb 29, 2024

Upload workflow artifacts to a prerelease tagged "nightly", so users can download nightly builds without login. I did not touch REAMDE as you may still find nightly.link useful somehow.

It's also possible to use commit hash or whatever as tag name, simply change tag: "nightly" in this part. I set it to nightly as I prefer a permalink like https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/releases/download/nightly/LibreHardwareMonitor-net472.zip:

      - name: Upload artifact to prerelease
        uses: ncipollo/release-action@v1
        with:
          # Only update attachments on "nightly" tag
          prerelease: True
          tag: "nightly"
          updateOnlyUnreleased: True

I tested net472 & net60 locally and they worked fine on my machine.

@Vinfall
Copy link
Contributor Author

Vinfall commented Mar 2, 2024

Hmm, in case I did not make it clear. #1279 only updates action versions and what you suggested is actually in this PR.

@Vinfall
Copy link
Contributor Author

Vinfall commented May 28, 2024

Closed due to inactivity, feel free to reach out if you ever decide to ship nightly via prerelease.

@Vinfall Vinfall closed this May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants