Skip to content

Commit

Permalink
remove test files from zip
Browse files Browse the repository at this point in the history
  • Loading branch information
lfkdev committed Jun 29, 2024
1 parent b0b3cd9 commit f5a4799
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
with:
python-version: '3.8'
- name: Get version
working-directory: ${{ github.workspace }}/src
id: get_version
run: |
echo "VERSION=$(python -c "from src.version import VERSION; print(VERSION)")" >> $GITHUB_OUTPUT
Expand All @@ -105,7 +104,7 @@ jobs:
echo "VERSION=$(python -c "from src.version import VERSION; print(VERSION)")" >> $GITHUB_OUTPUT
- name: Create zip artifact
run: |
zip -r ansible-link-${{ steps.get_version.outputs.VERSION }}.zip src -x "*.pyc" "*__pycache__*" "test_*"
zip -r ansible-link-${{ steps.get_version.outputs.VERSION }}.zip src -x "*.pyc" "*__pycache__*" "*test_*"
- name: Create hash file
run: |
sha256sum ansible-link-${{ steps.get_version.outputs.VERSION }}.zip > ansible-link-${{ steps.get_version.outputs.VERSION }}.sha256
Expand Down

0 comments on commit f5a4799

Please sign in to comment.