Create core_info_package.yml

This commit is contained in:
hunterk 2020-07-27 14:34:04 -05:00 committed by GitHub
parent 1b3b4998a1
commit 83076988e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

27
.github/workflows/core_info_package.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: libretro Core Info Package
on:
# Trigger the workflow on push, but only for the master branch
push:
branches:
- master
watch: # this is a hack that lets repo owners trigger a build by starring
types: [started]
if: github.actor == github.event.repository.owner.login
jobs:
Assets:
name: Bundle Core Info Files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cd dist/info && 7z a -mx=9 info.7z *
- name: Upload core info bundle
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/info/info.7z
tag: Latest
asset_name: info.7z
overwrite: true