Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky authored Dec 19, 2024
1 parent 13468d0 commit 8307e3f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Build
- name: Build (CI)
if: ${{ github.event.inputs.version == '' }}
run: |
cd sizoscope
dotnet publish
- name: Build (CD)
if: ${{ github.event.inputs.version != '' }}
run: |
cd sizoscope
dotnet publish -p:Version=${{ github.event.inputs.version }}
- name: Pack (CI)
if: ${{ github.event.inputs.version == '' }}
run: |
Expand Down

0 comments on commit 8307e3f

Please sign in to comment.