Skip to content

Add Automated Download System #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/repack-and-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#made by https://github.com/israpps for https://github.com/madmodder123/OpenPS2Loader_Widescreen_Cheats
name: Release-WideScreen-Cheats
on:
workflow_dispatch:
push:
pull_request:
#schedule:
# - cron: "0 15 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v1
- name: Zip Folder
run: |
SCH=${GITHUB_SHA::7}
echo commit $SCH >>commit.txt
echo commit $SCH
zip -r OpenPS2Loader_Widescreen_cheats-$SCH.zip *
ls

- name: Upload WideScreen hacks package
if: ${{ success() }}
uses: actions/upload-artifact@v2
with:
name: Widescreen-Hacks
path: '*.zip'

- name: Create release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
title: "automated Repack"
files: |
*.zip