diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index edeaa1ae..22ac5aa0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,7 +43,7 @@ jobs: os: [macos-latest, macos-13] runs-on: ${{ matrix.os }} env: - BUILD_NAME: porymap-${{ matrix.os }}-${{ github.ref_name }} + BUILD_NAME: porymap-${{ matrix.os }} steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 @@ -86,6 +86,8 @@ jobs: build-static-windows: runs-on: windows-latest + env: + BUILD_NAME: porymap-windows steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 @@ -138,18 +140,18 @@ jobs: - name: Prep Release Directory if: startsWith(github.ref, 'refs/tags/') run: | - mkdir porymap-windows-${{ github.ref_name }} - cp release/porymap.exe porymap-windows-${{ github.ref_name }}/porymap.exe - cp RELEASE-README.txt porymap-windows-${{ github.ref_name }}/README.txt + mkdir $BUILD_NAME + cp release/porymap.exe $BUILD_NAME/porymap.exe + cp RELEASE-README.txt $BUILD_NAME/README.txt - name: Bundle Release Directory if: startsWith(github.ref, 'refs/tags/') - run: powershell.exe -Command "Compress-Archive -Path porymap-windows-${{ github.ref_name }} -DestinationPath porymap-windows-${{ github.ref_name }}.zip" + run: powershell.exe -Command "Compress-Archive -Path $BUILD_NAME -DestinationPath $BUILD_NAME.zip" - name: Create Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: - files: porymap-windows-${{ github.ref_name }}.zip + files: $BUILD_NAME.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/INSTALL.md b/INSTALL.md index 6c26b59a..075dbf9a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,6 +1,13 @@ # Installation -porymap requires Qt 5.14.2 & C++11. +**Note**: For Windows and macOS, installation is not required to use Porymap. You can download the latest release to begin using Porymap immediately. + + - [Download Porymap for Windows](https://github.com/huderlem/porymap/releases/latest/download/porymap-windows.zip). + - [Download Porymap for macOS latest (arm)](https://github.com/huderlem/porymap/releases/latest/download/porymap-macos-latest.zip). + - [Download Porymap for macOS 13 (intel)](https://github.com/huderlem/porymap/releases/latest/download/porymap-macos-13.zip). + + +For installation, Porymap requires Qt 5.14.2 & C++11. ## macOS diff --git a/README.md b/README.md index 43a8f4a7..29a2f540 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,4 @@ Read [INSTALL.md](INSTALL.md) for instructions on how to compile Porymap from so [pokeemerald]: https://github.com/pret/pokeemerald [pokefirered]: https://github.com/pret/pokefirered [changelog]: https://github.com/huderlem/porymap/blob/master/CHANGELOG.md -[releases]: https://github.com/huderlem/porymap/releases +[releases]: https://github.com/huderlem/porymap/releases/latest