Skip to content

Commit

Permalink
fix creation of PHAR release using a flake
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Dec 5, 2023
1 parent a8ffb14 commit ef57b1b
Show file tree
Hide file tree
Showing 6 changed files with 1,365 additions and 646 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
/.gitignore export-ignore
/box.json.dist export-ignore
/build-phar.sh export-ignore
/composer.lock export-ignore
/infection.json.dist
/phpcs.xml.dist export-ignore
/phpunit.xml.dist export-ignore
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release-phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ jobs:
- name: "Checkout"
uses: "actions/checkout@v3"

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/nix-installer-action@v9

- name: "build-phar.sh"
run: "build-phar.sh"
- name: "Build PHAR"
run: |
"nix build .#phar"
"cp result/*.phar dist/*"
- name: "Upload PHAR"
uses: fnkr/[email protected]
Expand Down
3 changes: 1 addition & 2 deletions box.json.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"LICENSE",
"vendor/composer/composer/LICENSE"
],
"chmod": "0755",
"git-version": "git-version"
"chmod": "0755"
}
Loading

0 comments on commit ef57b1b

Please sign in to comment.