forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fabian Wolf
committed
Feb 22, 2023
1 parent
9da5e8b
commit 55ae25d
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Pack Release Zip | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Remove GitHub CI/CD | ||
run: rm -r .github/ | ||
- name: Remove gitignore | ||
run: rm .gitignore | ||
- name: Remove CI | ||
run: rm -r CI/ | ||
- name: Remove tests | ||
run: rm -r tests/ | ||
- name: Remove test | ||
run: rm test/ | ||
- name: Remove Dicto | ||
run: rm -r dicto/ | ||
- name: Remove babelrc | ||
run: rm .babelrc.json | ||
- name: Remove eslintrc | ||
run: rm .eslintrc.json | ||
- name: Install Dependencies | ||
uses: php-actions/composer@v6 | ||
with: | ||
dev: no | ||
args: | ||
- name: Pack Release Zip | ||
uses: montudor/action-zip@v1 | ||
with: | ||
args: zip -ry ILIAS-${{ github.event.release.tag_name }}.zip . | ||
- name: Pack Release Tar | ||
uses: a7ul/[email protected] | ||
id: compress | ||
with: | ||
command: zcvf | ||
outPath: ILIAS-${{ github.event.release.tag_name }}.tar.gz |