Skip to content

Commit

Permalink
zip files, second try
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed May 4, 2024
1 parent 136bd94 commit 1b62164
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,22 +104,19 @@ jobs:
with:
name: ${{ env.ARCHIVE_NAME }}
path: ${{ env.ARCHIVE_NAME }}

# - name: Download Artifacts
# uses: actions/download-artifact@v4
# with:
# name: ${{ env.ARCHIVE_NAME }}
# path: artifacts

# - name: zip directory
# run: zip -r $ARCHIVE_NAME.zip "$ARCHIVE_NAME/$ARCHIVE_NAME"
- name: zip files
uses: vimtor/[email protected]
with:
files: ${{ env.ARCHIVE_NAME }}/${{ env.ARCHIVE_NAME }}
recursive: true
dest: lamb-${{ github.ref_name }}-${{ matrix.name }}.zip

- name: List files
run: ls -R ${{ github.workspace }}/
run: ls -R

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ github.workspace }}/*.zip
*.zip

0 comments on commit 1b62164

Please sign in to comment.