feat: migrate possible download sources to modrinth #15
This file contains hidden or 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
| name: Packwiz Export | |
| on: [push] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Make Packwiz executable | |
| run: chmod +x ./packwiz-macos | |
| - name: Export modpack artifacts | |
| run: | | |
| ./packwiz-macos mr export | |
| # CurseForge packaging is intentionally disabled; Modrinth is the primary artifact. | |
| # ./packwiz-macos cf export | |
| - name: Capture export artifacts - Modrinth | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Artifacts-Modrinth | |
| path: ./**.mrpack | |
| # CurseForge artifact upload is intentionally disabled with the export command above. | |
| # - name: Capture export artifacts - CurseForge | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: Artifacts-CurseForge | |
| # path: ./**.zip |