Skip to content

Update main.yml

Update main.yml #374

Workflow file for this run

name: BeneBlacklist
on:
push:
branches:
- main
workflow_dispatch:
jobs:
new-release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create BeneBlacklist folder
run: |
mkdir BeneBlacklist
cp -r !(.github|.gitignore|pkgmeta.yaml) BeneBlacklist/
- name: Create ZIP file
run: |
timestamp=$(date +"%Y-%m-%d")
zip -r "BeneBlacklist-$timestamp.zip" BeneBlacklist
rm -rf BeneBlacklist
- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "Todays Build"
files: |
BeneBlacklist-*.zip