Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This action can't auto upload to Artifact #10

Closed
wherewhere opened this issue Mar 19, 2021 · 1 comment
Closed

This action can't auto upload to Artifact #10

wherewhere opened this issue Mar 19, 2021 · 1 comment
Labels
wontfix This will not be worked on

Comments

@wherewhere
Copy link

This action can't auto upload to Artifact. We can use Upload-Artifact to upload the zip. But it is not convenient. Hope author can add this feature.
My code:

name: Create Archive
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Archive Release
      uses: TheDoctor0/zip-release@0.4.1
      with:
        filename: 'release.zip'
        exclusions: '*.git* /*node_modules/* .editorconfig'
        type: 'zip'
    - uses: actions/upload-artifact@v2
      with:
        name: my-artifact
        path: ./release.zip
@TheDoctor0
Copy link
Owner

Hi.
By design, this action is supposed to just provide an option to create an archive of any files and do it well.
If you want to upload the created archive, you should create a pipeline by using other actions - just like you did with actions/upload-artifacts. This is even mentioned in README.

@TheDoctor0 TheDoctor0 added the wontfix This will not be worked on label Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants