1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-19 01:19:01 +00:00
starship/azure-pipelines.yml
Matan Kushner e66d7bae1c
ci: Migrate CI from Azure Pipelines to GitHub Actions (#233)
Migrated CI from Azure Pipelines to GitHub Actions.
Until the release process is figured out in Actions, we'll stick to using Azure pipelines for releases.
2019-09-04 19:13:53 -04:00

35 lines
875 B
YAML

trigger:
tags:
include: ["*"]
stages:
- stage: Release
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
jobs:
# Release binary on GitHub
- template: ci/github-release.yml
parameters:
name: github_release
rust_version: stable
contents: |
*
!*.rlib
!*.d
!.*
targets:
- x86_64-unknown-linux-gnu
# Windows support temporarily disabled
# - x86_64-pc-windows-gnu
# - x86_64-pc-windows-msvc
- x86_64-apple-darwin
github:
gitHubConnection: StarshipRelease
repositoryName: starship/starship
isPreRelease: false
# Publish package to Crates.io
- template: ci/cargo-publish.yml
parameters:
name: cargo_publish
displayName: Publish to Crates.io