Skip to content

Commit

Permalink
Create Release folder to archive with lha
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisamiga committed Sep 1, 2023
1 parent dbb1d87 commit 8e847ac
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/buildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ jobs:
uses: actions/checkout@v2
- name: 🏃 Running Make
run: make
- name: ➡️ Move to release folder
- name: ➡️ Move to build folder
run: cp Mnemosyne /opt/code/build/
- name: 📁 Create Release folder
run:
cp -a /opt/code/build/. /opt/code/build/Mnemosyne-${{ github.event.release.tag_name }}
cp /opt/code/images/drawer_3.0.info /opt/code/build/Mnemosyne-${{ github.event.release.tag_name }}.info
cd /opt/code/build/
- name: 📦 Create LHA archive
run: lha a Mnemosyne/Mnemosyne.lha /opt/code/build/Mnemosyne
run: lha -aq2o6 Mnemosyne.lha Mnemosyne-${{ github.event.release.tag_name }}/ Mnemosyne-${{ github.event.release.tag_name }}.info
- name: 🚀Upload Release Asset
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 8e847ac

Please sign in to comment.