Skip to content

Creating Starter Zip #142

Creating Starter Zip

Creating Starter Zip #142

Workflow file for this run

name: create-starter-zip
run-name: Creating Starter Zip
on: [push]
jobs:
zip:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: main
- run: npm install --force
- name: Zip Folder
run: zip -r flights42.zip . -x "*.zip"
- name: Release
uses: softprops/action-gh-release@v1
with:
files: '*.zip'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}