Skip to content

Allow installing pre-release versions using binstall#868

Merged
taiki-e merged 1 commit intomainfrom
pre
Feb 23, 2025
Merged

Allow installing pre-release versions using binstall#868
taiki-e merged 1 commit intomainfrom
pre

Conversation

@taiki-e
Copy link
Owner

@taiki-e taiki-e commented Feb 23, 2025

Closes #858

cc @SillyFreak: Could you confirm that this actually solves your problem? (This PR can be used as uses: taiki-e/install-action@pre.)

@ensko
Copy link

ensko commented Feb 23, 2025

Looks good! https://github.com/typst-community/typst-package-template/actions/runs/13485913904/job/37677016870?pr=31

Excerpts from the log:

Run taiki-e/install-action@pre
  with:
    tool: just,tytanic@0.2.0-rc1

 INFO resolve: Resolving package: 'tytanic@=0.2.0-rc1'
 WARN The package tytanic v0.2.0-rc1 (x86_64-unknown-linux-musl) has been downloaded from github.com
 INFO This will install the following binaries:
 INFO   - tt => /home/runner/.cargo/bin/tt
Run tt --version

  tt --version
  just test
  shell: /usr/bin/bash -e {0}
tytanic 0.2.0-rc1
tt run 
  Starting 2 tests (run ID: 465f3ea3-f507-438e-b411-f04626872c19)
      pass [     48ms] test1
   compile [      7ms] unit1
──────────
   Summary [     55ms] 2/2 tests run: all 2 passed

so yes, the action installs the prerelease, the binary is actually the expected one, and it runs as expected.

@taiki-e
Copy link
Owner Author

taiki-e commented Feb 23, 2025

Thanks for confirming!

@taiki-e taiki-e merged commit bfd7aad into main Feb 23, 2025
61 checks passed
@taiki-e taiki-e deleted the pre branch February 23, 2025 18:57
@taiki-e
Copy link
Owner Author

taiki-e commented Feb 23, 2025

Published in 2.49.0.

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.

Installing release candidates is not supported

2 participants