Skip to content

Commit

Permalink
undo release workflow testing
Browse files Browse the repository at this point in the history
  • Loading branch information
beeequeue committed Jul 5, 2022
1 parent 55d9c0f commit d9a45e3
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,43 @@ env:
TERM: xterm-256color

jobs:
# create-release:
# runs-on: ubuntu-latest
#
# steps:
# - uses: actions/checkout@v3
#
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: nightly
# default: true
#
# - uses: actions/cache@v3
# with:
# path: |
# ~/.cargo/bin
# ~/.cargo/registry/index
# ~/.cargo/registry/cache
# ~/.cargo/git/db
# ./target
# key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
# restore-keys: |
# ${{ runner.os }}-cargo-build-
#
# - run: cargo publish
# env:
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
#
# - uses: softprops/action-gh-release@v1
# with:
# draft: true
create-release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
default: true

- uses: actions/cache@v3
with:
path: |
~/.cargo/bin
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
./target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-build-
- run: cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- uses: softprops/action-gh-release@v1
with:
draft: true


build:
name: build (${{ matrix.os }})

# needs: [create-release]
needs: [create-release]

strategy:
fail-fast: false
Expand Down

0 comments on commit d9a45e3

Please sign in to comment.