Skip to content

Commit

Permalink
Support MacPorts 2.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
foretspaisibles committed Apr 16, 2024
1 parent f7ac740 commit 301b804
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -114,7 +114,7 @@ jobs:
## Example parameters
```yaml
version: '2.8.1'
version: '2.9.3'
prefix: '/opt/local'
variants:
select:
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion identify_self
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion subr/macports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion testsuite/run-testsuite-on-macos-11.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.8.1'
version: '2.9.3'
prefix: '/opt/local'
variants:
select:
Expand Down
2 changes: 1 addition & 1 deletion testsuite/run-testsuite-on-macos-12.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.8.1'
version: '2.9.3'
prefix: '/opt/local'
variants:
select:
Expand Down
2 changes: 1 addition & 1 deletion testsuite/run-testsuite-on-macos-13.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '2.8.1'
version: '2.9.3'
prefix: '/opt/local'
variants:
select:
Expand Down

0 comments on commit 301b804

Please sign in to comment.