mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 04:50:36 +00:00
Re-enable crates.io publish step in release workflow
This commit is contained in:
parent
ff80981282
commit
eac34d2e7e
1 changed files with 32 additions and 32 deletions
64
.github/workflows/release.yaml
vendored
64
.github/workflows/release.yaml
vendored
|
@ -27,26 +27,26 @@ jobs:
|
||||||
file: crates/lune/Cargo.toml
|
file: crates/lune/Cargo.toml
|
||||||
field: package.version
|
field: package.version
|
||||||
|
|
||||||
# dry-run:
|
dry-run:
|
||||||
# name: Dry-run
|
name: Dry-run
|
||||||
# needs: ["init"]
|
needs: ["init"]
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout repository
|
- name: Checkout repository
|
||||||
# uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: Install Rust
|
- name: Install Rust
|
||||||
# uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
# - name: Publish (dry-run)
|
- name: Publish (dry-run)
|
||||||
# uses: katyo/publish-crates@v2
|
uses: katyo/publish-crates@v2
|
||||||
# with:
|
with:
|
||||||
# dry-run: true
|
dry-run: true
|
||||||
# check-repo: true
|
check-repo: true
|
||||||
# registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: ["init"] # , "dry-run"]
|
needs: ["init", "dry-run"]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -112,7 +112,7 @@ jobs:
|
||||||
release-github:
|
release-github:
|
||||||
name: Release (GitHub)
|
name: Release (GitHub)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: ["init", "build"] # , "dry-run", "build"]
|
needs: ["init", "dry-run", "build"]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -139,20 +139,20 @@ jobs:
|
||||||
files: ./releases/*.zip
|
files: ./releases/*.zip
|
||||||
draft: true
|
draft: true
|
||||||
|
|
||||||
# release-crates:
|
release-crates:
|
||||||
# name: Release (crates.io)
|
name: Release (crates.io)
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: ["init", "dry-run", "build"]
|
needs: ["init", "dry-run", "build"]
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout repository
|
- name: Checkout repository
|
||||||
# uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: Install Rust
|
- name: Install Rust
|
||||||
# uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
# - name: Publish crates
|
- name: Publish crates
|
||||||
# uses: katyo/publish-crates@v2
|
uses: katyo/publish-crates@v2
|
||||||
# with:
|
with:
|
||||||
# dry-run: false
|
dry-run: false
|
||||||
# check-repo: true
|
check-repo: true
|
||||||
# registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue