Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
bbb483e8e2
|
|||
|
3487071b19
|
@@ -1,20 +0,0 @@
|
|||||||
name: Gitea Actions
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-php:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- name: Setup PHP
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: '8.2' # adapte si besoin (7.4, 8.0, etc.)
|
|
||||||
- run: php -r "echo 'Hello, world.';"
|
|
||||||
- run: php -r "phpinfo();"
|
|
||||||
- run: php -r "print('Hello, world.');"
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
|
||||||
Reference in New Issue
Block a user