Skip to content

miyling/upload-artifact-as-is

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upload-artifact-as-is

Inspired by actions/upload-artifact. The credit goes there. 🏅

This GitHub Action uploads build artifacts, but unlike the original actions/upload-artifact GitHub Action, this one does not require the desired artifact name, but uses the original name of the files for the uploads. No artifact name customization is possible.

Inputs

path

Required A file, directory or wildcard pattern that describes what to upload.

Example usage

    - uses: kittaakos/upload-artifact-as-is@v1
    with:
        path: path/to/artifactDir/ # or path/to/artifactDir or path/to/artifactFile or path/to/**/wildcard/*

In action:

    steps:
      - name: Checkout
        uses: actions/checkout@master

      - run: mkdir -p path/to/artifact
      - run: echo hello1 > path/to/artifact/world1.txt
      - run: echo hello2 > path/to/artifact/world2.txt

      - uses: kittaakos/upload-artifact-as-is@v0
        with:
          path: path/to/artifact/

Output:

Screen Shot 2020-05-15 at 12 58 38

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%