• Stars
    star
    130
  • Rank 276,583 (Top 6 %)
  • Language
    Shell
  • License
    MIT License
  • Created almost 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Zip Release License

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

It works on all platforms: Linux, MacOS and Windows.

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/[email protected]
      with:
        type: 'zip'
        filename: 'release.zip'
        exclusions: '*.git* /*node_modules/* .editorconfig'

The generated archive will be placed as specified by directory, path and filename. If you want to attach it to the latest release use another action like ncipollo/release-action:

- name: Upload Release
  uses: ncipollo/[email protected]
  with:
    artifacts: "release.zip"
    token: ${{ secrets.GITHUB_TOKEN }}

Arguments

filename

Default: release.zip

The filename for the generated archive, relative to directory.

If you use type: tar it's recommended to set the filename to a tar.gz (the tarball is always gzip compressed).

directory

Default: .

The working directory where the zip or tar actually runs.

path

Default: .

The path to the files or directory that should be archived, relative to directory.

type

Default: zip

Either zip or tar.

Defines if either a ZIP-file is created, or a tar archive (the latter gzipped).

On Windows platform 7zip is used to zip files as zip command is not available there.

exclusions

Default: none

List of excluded files or directories.

Please note: this handles slightly differently, depending on if you use type: zip or type: tar.

ZIP requires you to specify wildcards or full filenames.

TAR allows you to specify only the filename, no matter if it's in a subdirectory.

recursive_exclusions

Default: none

Alternative to exclusions that allows you to specify a list of recursive wildcards. Only applies to type: zip on Windows where 7zip is used.

For example:

exclusions: *.txt will only exclude files ending with .txt

recursive_exclusions: *.txt will exclude files ending with .txt in any subdirectory.

custom

Default: none

Provide any custom parameters to the command.

For example:

custom: --ignore-failed-read option used with tar command, which allows to ignore and continue on unreadable files.

More Repositories

1

laravel-factory-generator

Model factory generator for Laravel
PHP
150
star
2

CSGOMod

CS:GO Mod for Counter-Strike 1.6 (AMXX 1.8.3 / 1.9 / 1.10).
Pawn
55
star
3

laravel-mailjet-driver

Laravel mail driver package for Mailjet and wrapper for its API
PHP
33
star
4

openvas-docker-lite

OpenVAS docker container with custom automation script.
Shell
29
star
5

AMXXLegacy

Various AmxModX plugins written / modified / aquired over the years.
Pawn
11
star
6

CoDMod

Call of Duty Mod for Counter-Strike 1.6 (AMXX 1.8.3 / 1.9 / 1.10).
Pawn
10
star
7

BattlefieldOne

Battlefield One Mod for Counter-Strike 1.6
Pawn
7
star
8

CSCOInstaller

CSCO Installer - simple installer and updater for Counter-Strike: Classic Offensive.
C#
6
star
9

UltimateStats

Advanced players statistics plugin for Counter-Strike 1.6 (AMXX 1.8.3 / 1.9).
Pawn
6
star
10

YouTubeQuery

Reworked search for YouTube videos in Wox Launcher.
C#
5
star
11

inertia-vue-typescript-example

PHP
5
star
12

leetcode-golang

Solutions for LeetCode problems written in Golang (Go).
Go
4
star
13

vue-input-mask

Input mask directive for Vue.js - lightweight, dependency free, written in TypeScript.
TypeScript
4
star
14

AdminPanel

Centralized Admins Panel for Counter-Strike 1.6 Servers.
PHP
4
star
15

phpstorm-ide-config

PHPStorm IDE config and shortcuts cheat sheet.
HTML
3
star
16

SublimeAMXXEditor

Sublime Text 3 plugin for AMXX development.
Python
3
star
17

NotAHotDog

Image classification using TensorFlow (Inception v3).
Python
3
star
18

Motus

Experimental blockchain implementation in Javascript.
JavaScript
3
star
19

DiabloMod

Classic version of DiabloMod for Counter-Strike 1.6
SourcePawn
3
star
20

laravel-stubs

Opinionated versions of the Laravel stubs for Artisan.
PHP
3
star
21

algods

Golang algorithms and data structures.
Go
2
star
22

WebDevShell

Sublime Text 3 plugin for executing shell commands related to web apps development: Laravel Artisan, Composer, NPM, Yarn, Python, PHP, PHPStan, Psalm, ESLint and more!
Python
2
star
23

laravel-test-factory-helper-pr

PHP
2
star
24

tailwind-html-template

Template for basic projects with HTML5, CSS (Tailwind CSS) and vanilla JavaScript (ES6+).
HTML
1
star
25

MonitorAndRecord

C
1
star