Skip to content

Commit

Permalink
Restructured again
Browse files Browse the repository at this point in the history
  • Loading branch information
BasieBrinkie committed Dec 14, 2021
1 parent 23a32f7 commit cc12067
Show file tree
Hide file tree
Showing 2,637 changed files with 319,613 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Get modpack info
id: info
run: |
manifestjson=`cat src/manifest.json`
manifestjson=`cat modpack/manifest.json`
projectname=`echo $(jq -r '.name' <<< "$manifestjson")`
echo "::set-output name=projectname::$projectname"
version=`echo $(jq -r '.minecraft.version' <<< "$manifestjson")`
Expand Down Expand Up @@ -67,20 +67,19 @@ jobs:
with:
name: changelog
- name: Move changelog
run: mv CHANGELOG.md src/CHANGELOG.md
run: mv CHANGELOG.md modpack/CHANGELOG.md
- name: Export modpack
run: |
cd pax
sudo chmod +x ./pax
./pax export
- name: Rename zip
run: |
mv pax/.out/${{ needs.modpack-info.outputs.projectname }}.zip pax/.out/${{ needs.modpack-info.outputs.projectname }}-${{ needs.modpack-info.outputs.tag }}.zip
mv .out/${{ needs.modpack-info.outputs.projectname }}.zip .out/${{ needs.modpack-info.outputs.projectname }}-${{ needs.modpack-info.outputs.tag }}.zip
- name: Upload zip
uses: actions/upload-artifact@v2
with:
name: modpack
path: pax/.out/${{ needs.modpack-info.outputs.projectname }}-${{ needs.modpack-info.outputs.tag }}.zip
path: .out/${{ needs.modpack-info.outputs.projectname }}-${{ needs.modpack-info.outputs.tag }}.zip

release-github:
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit cc12067

Please sign in to comment.