-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #373 from hunterk/master
Create assets_bundle.yml
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: RetroArch Assets Bundle | ||
|
||
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 Assets for RetroArch | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: rm -rf branding wallpaper/* src .git configure Makefile COPYING | ||
- run: 7z a -mx=9 assets.7z * | ||
- name: Upload assets bundle | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: assets.7z | ||
tag: Latest | ||
asset_name: assets.7z | ||
overwrite: true |