Skip to content

Commit

Permalink
ci: oof
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholass003 committed Jul 14, 2024
1 parent 2472706 commit 153b738
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: CI
on:
push:
branches:
- main
pull_request:
- push
- pull_request
jobs:
build-php:
name: Prepare PHP
Expand Down Expand Up @@ -33,8 +31,6 @@ jobs:
- "8.2"
steps:
- uses: actions/checkout@v3
- name: Backup LICENSE file
run: cp LICENSE /tmp/LICENSE
- uses: pmmp/setup-php-action@main
with:
php-version: ${{matrix.php}}
Expand All @@ -60,17 +56,16 @@ jobs:
EOF
fi
mv .poggit.yml /tmp/.poggit.yml
git checkout origin/main -- LICENSE
mv LICENSE /tmp/LICENSE
git rm -fr .
git clean -dxff
mv /tmp/.poggit.yml .poggit.yml
- name: Restore LICENSE file
run: cp /tmp/LICENSE LICENSE
mv /tmp/LICENSE LICENSE
- name: Create commit
run: |
cp ${{steps.pharynx.outputs.output-phar}} DiscordChatBridge.phar
cp -r ${{steps.pharynx.outputs.output-dir}}/* .
cp /tmp/LICENSE LICENSE
git add -f LICENSE
git add -A
git \
-c user.name="github-actions[bot]" \
Expand Down

0 comments on commit 153b738

Please sign in to comment.