From 301b80422869bd4552413ed40e5ceb5a115371be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Le=20Barbier?= Date: Tue, 16 Apr 2024 21:28:45 +0200 Subject: [PATCH] Support MacPorts 2.9.3 --- .github/workflows/continuous-integration.yaml | 2 +- README.md | 12 ++++++------ action.yaml | 2 +- identify_self | 2 +- subr/macports.sh | 2 +- testsuite/run-testsuite-on-macos-11.yaml | 2 +- testsuite/run-testsuite-on-macos-12.yaml | 2 +- testsuite/run-testsuite-on-macos-13.yaml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 8deff63..a31be9b 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: ['macos-11', 'macos-12', 'macos-13'] - version: ['2.8.1'] + version: ['2.9.3'] prefix: ['/opt/local'] runs-on: '${{ matrix.os }}' name: 'Install MacPorts' diff --git a/README.md b/README.md index f7ea3bb..1a055da 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ to get started with GitHub workflows. The configuration file is in YAML and has the following format: -* `version: '2.8.1'` — The MacPorts version to install. +* `version: '2.9.3'` — The MacPorts version to install. * `prefix: '/opt/local'` — The installation prefix to install MacPorts to. Currently the only supported value is '/opt/local'. * `variants.select: []` — The list of selected variants in the global @@ -80,7 +80,7 @@ on: jobs: install-macports-on-macos-11: runs-on: macos-11 - name: 'Install MacPorts 2.8.1 on MacOS 11' + name: 'Install MacPorts 2.9.3 on MacOS 11' steps: - uses: actions/checkout@v3 - uses: melusina-org/setup-macports@v1 @@ -89,17 +89,17 @@ jobs: parameters: 'testsuite/run-testsuite-on-macos-11.yaml' - name: 'Validate installed MacPorts version' run: >- - test "$(port version)" = 'Version: 2.8.1' + test "$(port version)" = 'Version: 2.9.3' - name: 'Validate transmitted MacPorts prefix' run: >- test "${{ steps.macports.outputs.prefix }}" = '/opt/local' - name: 'Validate transmitted MacPorts version' run: >- - test "${{ steps.macports.outputs.version }}" = '2.8.1' + test "${{ steps.macports.outputs.version }}" = '2.9.3' install-macports-on-macos-12: runs-on: macos-12 - name: 'Install MacPorts 2.8.1 on MacOS 12' + name: 'Install MacPorts 2.9.3 on MacOS 12' steps: - uses: actions/checkout@v3 - name: 'Run testsuite' @@ -114,7 +114,7 @@ jobs: ## Example parameters ```yaml -version: '2.8.1' +version: '2.9.3' prefix: '/opt/local' variants: select: diff --git a/action.yaml b/action.yaml index 9301cbf..0ec8d9b 100644 --- a/action.yaml +++ b/action.yaml @@ -17,7 +17,7 @@ inputs: The configuration file is in YAML and has the following format: - version: '2.8.1' + version: '2.9.3' The MacPorts version to install. prefix: '/opt/local' The installation prefix to install MacPortd to. diff --git a/identify_self b/identify_self index 4fd8b72..9554687 100755 --- a/identify_self +++ b/identify_self @@ -18,7 +18,7 @@ github_repo='macports-base' parameterfile='.github/parameters/gha-install-macports.yaml' prefix='/opt/local' -version='2.8.1' +version='2.9.3' wlog() { diff --git a/subr/macports.sh b/subr/macports.sh index c53263f..942090b 100644 --- a/subr/macports.sh +++ b/subr/macports.sh @@ -13,7 +13,7 @@ : ${macports_owner:=$(id -u -n)} : ${macports_group:=$(id -g -n)} -: ${macports_version:='2.8.1'} +: ${macports_version:='2.9.3'} : ${macports_prefix:='/opt/local'} macports_install() diff --git a/testsuite/run-testsuite-on-macos-11.yaml b/testsuite/run-testsuite-on-macos-11.yaml index 722ac07..35f1204 100644 --- a/testsuite/run-testsuite-on-macos-11.yaml +++ b/testsuite/run-testsuite-on-macos-11.yaml @@ -1,4 +1,4 @@ -version: '2.8.1' +version: '2.9.3' prefix: '/opt/local' variants: select: diff --git a/testsuite/run-testsuite-on-macos-12.yaml b/testsuite/run-testsuite-on-macos-12.yaml index f3ad145..f763fb8 100644 --- a/testsuite/run-testsuite-on-macos-12.yaml +++ b/testsuite/run-testsuite-on-macos-12.yaml @@ -1,4 +1,4 @@ -version: '2.8.1' +version: '2.9.3' prefix: '/opt/local' variants: select: diff --git a/testsuite/run-testsuite-on-macos-13.yaml b/testsuite/run-testsuite-on-macos-13.yaml index 722ac07..35f1204 100644 --- a/testsuite/run-testsuite-on-macos-13.yaml +++ b/testsuite/run-testsuite-on-macos-13.yaml @@ -1,4 +1,4 @@ -version: '2.8.1' +version: '2.9.3' prefix: '/opt/local' variants: select: