mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Migrate CI and builds to Just, add "full" builds (#660)
This commit is contained in:
parent
305bf8123d
commit
aea9df602c
30 changed files with 717 additions and 463 deletions
41
.github/workflows/release.yml
vendored
41
.github/workflows/release.yml
vendored
|
@ -49,40 +49,11 @@ jobs:
|
|||
custom_tag: ${{ needs.info.outputs.version }}
|
||||
tag_prefix: ''
|
||||
|
||||
build:
|
||||
if: "startsWith(github.event.head_commit.message, 'release: cargo-binstall v')"
|
||||
needs: info # not really, but just so it fails fast
|
||||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
for_release: true
|
||||
|
||||
release:
|
||||
package:
|
||||
if: "startsWith(github.event.head_commit.message, 'release: cargo-binstall v')"
|
||||
needs:
|
||||
- info
|
||||
- tag
|
||||
- build
|
||||
name: Package and release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Get outputs
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: outputs/
|
||||
|
||||
- name: Pack archives
|
||||
run: .github/scripts/pack-release-archives.sh
|
||||
|
||||
- name: Publish release
|
||||
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
|
||||
with:
|
||||
tag_name: ${{ needs.info.outputs.version }}
|
||||
name: ${{ needs.info.outputs.version }}
|
||||
body: ${{ needs.info.outputs.notes }}
|
||||
append_body: true
|
||||
files: |
|
||||
outputs/cargo-binstall-*.zip
|
||||
outputs/cargo-binstall-*.tgz
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- info
|
||||
- tag
|
||||
uses: ./.github/workflows/release-build.yml
|
||||
with:
|
||||
publish: ${{ toJSON(needs.info.outputs) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue