Skip to content

Commit

Permalink
Update the job run
Browse files Browse the repository at this point in the history
  • Loading branch information
olyagpl committed Jun 12, 2024
1 parent ff9be4f commit cc25d09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
- name: Build with Native Image Maven Plugin
run: |
mvn --no-transfer-progress -Pnative package
./target/searchbot --api-key="${{ secrets.OPENAI_API_KEY }}" "What is JavaDay Lviv?"
export OPENAI_API_KEY="${{ secrets.OPENAI_API_KEY }}"
./target/searchbot "What is JavaDay Lviv?"
- name: Build with File Size Optimization
run: |
Expand All @@ -30,7 +31,7 @@ jobs:
-o ./target/searchbot-optimized
echo "What is JavaDay Lviv?"
./target/searchbot --api-key="${{ secrets.OPENAI_API_KEY }}" "What is JavaDay Lviv?"
./target/searchbot "What is JavaDay Lviv?"
- name: Compare file sizes
run: du -h target/searchbot*
Expand Down

0 comments on commit cc25d09

Please sign in to comment.