Skip to content

Commit

Permalink
ci/cd: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
SpontanCombust committed Jan 27, 2024
1 parent aba5d46 commit d0ebea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
with:
toolchain: stable
- name: Build with Cargo
uses: actions-rs/cargo@v1
with:
command: build
args: --release
run: cargo build --release --workspace
- name: Run tests
run: cargo test --verbose
3 changes: 2 additions & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
override: true

- name: Build with Cargo
run: cargo build --release --target=${{ matrix.target }}
run: cargo build --release --workspace --target=${{ matrix.target }}

- name: Pack the client
run: cargo xtask package .
Expand All @@ -43,4 +43,5 @@ jobs:
with:
artifacts: "*.vsix"
draft: true
allowUpdates: true
generateReleaseNotes: true

0 comments on commit d0ebea6

Please sign in to comment.