Skip to content

How can I create a zip file but starting from particular subdirectory? #3

Answered by sdemjanenko
vittoso asked this question in Q&A
Discussion options

You must be logged in to vote

You can also use multiple steps in the Github job workflow. Layers from the previous step are available in later steps.

    - name: Install zip
      uses: montudor/[email protected]

    - name: Zip output
      run: zip -qq -r function.zip dist node_modules package.json
      working-directory: backend/some-module

Replies: 11 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by montudor
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #3 on December 15, 2020 04:04.