Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
QueenOfSquiggles authored Apr 7, 2024
1 parent ddd03fe commit a02d480
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,22 +99,36 @@ jobs:
mkdir target
mkdir target/debug
mkdir target/release
mkdir libs
mkdir libs/debug
mkdir libs/release
- name: Build docs
uses: actions-rs/cargo@v1
with:
use-cross: false
command: doc
args: --verbose --no-deps --target-dir .

- name: download debug files
uses: actions/[email protected]
with:
# Destination path. Supports basic tilde expansion. Defaults to $GITHUB_WORKSPACE
path: "target/debug/"
path: "libs/debug/"
# A glob pattern matching the artifacts that should be downloaded. Ignored if name is specified.
pattern: "*sqore*--debug"
- name: download release files
uses: actions/[email protected]
with:
# Destination path. Supports basic tilde expansion. Defaults to $GITHUB_WORKSPACE
path: "target/release/"
path: "libs/release/"
# A glob pattern matching the artifacts that should be downloaded. Ignored if name is specified.
pattern: "*sqore*--release"

- name: move libs
run: |
cp libs/debug/**/*sqore* target/debug/
cp libs/release/**/*sqore* target/release/
# - name: Release
# uses: softprops/action-gh-release@v1
# with:
Expand Down

0 comments on commit a02d480

Please sign in to comment.