Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53b97ff

Browse files
committed
Use release builds for the CodeQL package
1 parent 9e6ccf5 commit 53b97ff

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ jobs:
2424
submodules: true
2525
- name: Build
2626
run: cargo build --verbose
27+
- name: Run tests
28+
run: cargo test --verbose
29+
- name: Release build
30+
run: cargo build --release
2731
- name: Generate dbscheme
2832
if: ${{ matrix.os == 'ubuntu-latest' }}
29-
run: target/debug/generator
33+
run: target/release/generator
3034
- uses: actions/upload-artifact@v2
3135
if: ${{ matrix.os == 'ubuntu-latest' }}
3236
with:
@@ -36,11 +40,9 @@ jobs:
3640
with:
3741
name: extractor-${{ matrix.os }}
3842
path: |
39-
target/debug/ruby-extractor
40-
target/debug/ruby-extractor.exe
43+
target/release/ruby-extractor
44+
target/release/ruby-extractor.exe
4145
retention-days: 1
42-
- name: Run tests
43-
run: cargo test --verbose
4446
package:
4547
runs-on: ubuntu-latest
4648
needs: build

0 commit comments

Comments
 (0)