Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ole1986 committed Nov 26, 2024
1 parent eeb4b13 commit e0fb13b
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,35 @@ jobs:
- uses: php-actions/composer@v6
with:
php_version: "8.2"
version: 2
version: "2.8"
php_extensions: gd
- uses: php-actions/composer@v6
with:
php_version: "8.2"
version: 2
version: "2.8"
php_extensions: gd
command: prefix-namespaces
- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: "zip"
filename: "release.zip"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: test
release_name: Release Test
draft: true
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./release.zip
asset_name: release.zip
asset_content_type: application/zip

0 comments on commit e0fb13b

Please sign in to comment.