Skip to content

Commit

Permalink
Merge pull request #373 from hunterk/master
Browse files Browse the repository at this point in the history
Create assets_bundle.yml
  • Loading branch information
fpscan authored Jan 13, 2022
2 parents b9c53d3 + f13e1a2 commit 948def8
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/assets_bundle.yml
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

0 comments on commit 948def8

Please sign in to comment.