Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Wolf committed Feb 22, 2023
1 parent 9da5e8b commit 55ae25d
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
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

0 comments on commit 55ae25d

Please sign in to comment.