-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (30 loc) · 943 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
find . -maxdepth 1 -type f ! -name '*.github' ! -name '.gitignore' ! -name 'pkgmeta.yaml' -exec cp -r {} BeneBlacklist \;
- name: Create ZIP file
run: |
timestamp=$(date +"%Y-%m-%d")
zip -r "BeneBlacklist-wrath-$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