mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 10:32:13 +03:00
skip windows for now
This commit is contained in:
parent
7d426c2e4c
commit
fbc2b51207
92
.github/workflows/release.yml
vendored
92
.github/workflows/release.yml
vendored
@ -1,10 +1,8 @@
|
||||
name: Leo Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- feature/release
|
||||
# tags:
|
||||
# - 'v*.*.*'
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
@ -85,48 +83,48 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
windows:
|
||||
name: Windows
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
# - name: Load snarkOS
|
||||
# run: |
|
||||
# echo "${{ secrets.SNARKOS_DEPLOY_KEY }}" > /c/Users/runneradmin/.ssh/id_rsa
|
||||
# chmod 600 /c/Users/runneradmin/.ssh/id_rsa
|
||||
# eval $(ssh-agent -s)
|
||||
# ssh-add -k /c/Users/runneradmin/.ssh/id_rsa
|
||||
- uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SNARKOS_DEPLOY_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
# - uses: fusion-engineering/setup-git-credentials@v2
|
||||
# windows:
|
||||
# name: Windows
|
||||
# runs-on: windows-latest
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v1
|
||||
#
|
||||
## - name: Load snarkOS
|
||||
## run: |
|
||||
## echo "${{ secrets.SNARKOS_DEPLOY_KEY }}" > /c/Users/runneradmin/.ssh/id_rsa
|
||||
## chmod 600 /c/Users/runneradmin/.ssh/id_rsa
|
||||
## eval $(ssh-agent -s)
|
||||
## ssh-add -k /c/Users/runneradmin/.ssh/id_rsa
|
||||
# - uses: shimataro/ssh-key-action@v2
|
||||
# with:
|
||||
# credentials: ${{ secrets.SNARKOS_DEPLOY_KEY }}
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
components: rustfmt
|
||||
|
||||
- name: Build Leo
|
||||
run: |
|
||||
cargo build --all --release
|
||||
env:
|
||||
CARGO_NET_GIT_FETCH_WITH_CLI: true
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: |
|
||||
target/release/leo.exe
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# key: ${{ secrets.SNARKOS_DEPLOY_KEY }}
|
||||
# name: id_rsa
|
||||
# known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
## - uses: fusion-engineering/setup-git-credentials@v2
|
||||
## with:
|
||||
## credentials: ${{ secrets.SNARKOS_DEPLOY_KEY }}
|
||||
#
|
||||
# - name: Install Rust
|
||||
# uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# profile: minimal
|
||||
# toolchain: stable
|
||||
# override: true
|
||||
# components: rustfmt
|
||||
#
|
||||
# - name: Build Leo
|
||||
# run: |
|
||||
# cargo build --all --release
|
||||
# env:
|
||||
# CARGO_NET_GIT_FETCH_WITH_CLI: true
|
||||
#
|
||||
# - name: Release
|
||||
# uses: softprops/action-gh-release@v1
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
# with:
|
||||
# files: |
|
||||
# target/release/leo.exe
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user