Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
buerviper committed Jul 17, 2023
2 parents 50c25fd + 5205125 commit 4e01916
Showing 1 changed file with 9 additions and 20 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,14 @@ jobs:
TriggerMastobot:
runs-on: ubuntu-latest
steps:
- name: Setup PHP Action
# You may pin to the exact commit or the version.
# uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b
uses: shivammathur/setup-php@2.25.4
- name: Setup Python
uses: actions/setup-python@v4.7.0
with:
# Setup PHP version.
php-version: 8.1
# Setup PHP version from a file.
php-version-file: # optional
# Setup PHP extensions.
extensions: # optional
# Set base ini file.
ini-file: # optional, default is production
# Add values to php.ini.
ini-values: # optional
# Setup code coverage driver.
coverage: # optional
# Setup popular tools globally.
tools: # optional
# Version range or exact version of Python or PyPy to use, using SemVer's version range syntax. Reads from .python-version if unset.
python-version: 3.10.12
- name: Install Dependencies
run: pip3 install Mastodon.py
run: pip install -r requirements.txt
- uses: actions/checkout@v2
- name: run.php
run: php run.php
- name: run.py
run: python run.py

0 comments on commit 4e01916

Please sign in to comment.