Skip to content

Commit

Permalink
Fixed workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Firestone82 committed Dec 13, 2024
1 parent d7988df commit 46ab6ad
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: prepared-database
path: migrations
path: |
target
.env
.sqlx
build:
name: Build
Expand Down
25 changes: 14 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,19 @@ env:
CARGO_TERM_COLOR: always

jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Check
run: cargo check --verbose

prepare:
runs-on: ubuntu-latest
name: Prepare
needs: check
steps:
- uses: actions/checkout@v4

Expand All @@ -28,17 +38,10 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: prepared-database
path: migrations

check:
name: Check
runs-on: ubuntu-latest
needs: prepare
steps:
- uses: actions/checkout@v4

- name: Check
run: cargo check --verbose
path: |
target
.env
.sqlx
release:
name: release ${{ matrix.target }}
Expand Down

0 comments on commit 46ab6ad

Please sign in to comment.