Skip to content

Commit

Permalink
OPL Builds Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
israpps committed Jul 1, 2021
1 parent e41fac7 commit 6b4b0ba
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/compilation.yml
Expand Up @@ -177,3 +177,21 @@ jobs:
OPNPS2LD-VARIANTS-${{ steps.version.outputs.version }}.7z
OPNPS2LD.7z
OPNPS2LD-VARIANTS.7z
- name: Upload pre-release to Mega
if: github.ref == 'refs/heads/master'
uses: Difegue/action-megacmd@master
with:
args: put -c OPNPS2LD.7z /OPL/Pre-Release/${{ steps.version.outputs.version }}/
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}

- name: Upload release to Mega
if: startsWith(github.ref, 'refs/tags/v')
uses: Difegue/action-megacmd@master
with:
args: put -c OPNPS2LD.7z /OPL/Release/${{ steps.version.outputs.version }}/
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}

0 comments on commit 6b4b0ba

Please sign in to comment.