Skip to content

Commit

Permalink
Remove Dependabot config and streamline release workflow
Browse files Browse the repository at this point in the history
Deleted the dependabot.yml file to discontinue automated dependency updates. Simplified the release workflow by combining the dependency installation step and removing the unnecessary Composer token setup. This should reduce redundant actions and improve the maintainability of the workflow script.
  • Loading branch information
Spomky committed Sep 21, 2024
1 parent c944a70 commit 305d613
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
19 changes: 0 additions & 19 deletions .github/dependabot.yml

This file was deleted.

12 changes: 3 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,17 @@ jobs:
coverage: none
ini-values: memory_limit=1G, phar.readonly=0

- name: 'Setup Composer Token'
run: |
if [ ! -z '${{ secrets.COMPOSER_TOKEN }}' ]; then
composer config github-oauth.github.com ${{ secrets.COMPOSER_TOKEN }}
fi
- name: 'Install Project Dependencies'
run: composer install --no-interaction --no-ansi --no-progress

- name: 'Compile the application (Linux)'
- name: 'Compile the application'
run: |
vendor/bin/castor repack --os={{ matrix.os }} --app-name=beaver --app-version=${{ github.ref_name }}
vendor/bin/castor compile beaver.linux.phar --php-version=${{ matrix.php }} --arch={{ matrix.arch }} --os={{ matrix.os }}
- name: 'Move applications'
run: mv beaver.* ./bin/

- name: 'Install Project Dependencies'
run: composer install --no-interaction --no-ansi --no-progress

- name: 'Create Release'
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 305d613

Please sign in to comment.