Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
archive

GitHub Action

Zip Release

v0.2.1

Zip Release

archive

Zip Release

Make an archive from specified files and directories as workflow action

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Zip Release

uses: TheDoctor0/zip-release@v0.2.1

Learn more about this action in TheDoctor0/zip-release

Choose a version

Zip Release License

GitHub action that can be used to create release zip archive.

Usage

An example workflow config:

name: Create Archive
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: Archive Release
      uses: thedoctor0/zip-release@master
      with:
        filename: 'release.zip'
        exclusions: '*.git* /*node_modules/* .editorconfig'

Arguments

Argument Description Default
filename Filename for archive release.zip
path Base path for archive files .
exclusions List of excluded files/directories