Skip to content

Commit

Permalink
Add macport doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kekefreedog committed Feb 24, 2024
1 parent a2b6f93 commit 8b0d37f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3' # Adjust as needed
php-version: 8.3 # Adjust as needed

- name: Run custom script to update versions
run: php ./.github/workflows/scripts/update-versions.php "${{ github.event.release.tag_name }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
- name: Install dependencies
uses: php-actions/composer@v6
with:
php_version: 8.2
php_version: 8.3
- name: PHPUnit Tests
uses: php-actions/phpunit@master
with:
php_version: 8.2
php_version: 8.3
bootstrap: vendor/autoload.php
configuration: phpunit.xml
20 changes: 20 additions & 0 deletions docs/Misc/MacPort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# MacPort

## Upgrade PHP version

1. Install new php version
```sh
sudo port install php83
```

2. Check php version installed
```sh
sudo port select --list php
```
3. Select php version
```sh
sudo port select --set php php83
```
And voilà 🎉

0 comments on commit 8b0d37f

Please sign in to comment.