Skip to content

Commit

Permalink
Don't spend time on artifact creation if they will not be used.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegRa committed Dec 30, 2023
1 parent 0a89162 commit fa7e694
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:

- name: Save SDK Packages
uses: actions/upload-artifact@v4
if: github.repository == 'alpacahq/alpaca-trade-api-csharp' && startsWith(github.ref, 'refs/tags/sdk')
with:
retention-days: 1
compression-level: 0
Expand All @@ -48,6 +49,7 @@ jobs:
- name: Save Extensions Packages
uses: actions/upload-artifact@v4
if: github.repository == 'alpacahq/alpaca-trade-api-csharp' && startsWith(github.ref, 'refs/tags/ext')
with:
retention-days: 1
compression-level: 0
Expand Down

0 comments on commit fa7e694

Please sign in to comment.