revert a539bd8aa5
revert .gitea/workflow/ci.yml hinzugefügt add release action
Dieser Commit ist enthalten in:
Ursprung
a539bd8aa5
Commit
ca485b1774
1 geänderte Dateien mit 0 neuen und 48 gelöschten Zeilen
|
@ -1,48 +0,0 @@
|
||||||
name: "Release"
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "*"
|
|
||||||
|
|
||||||
env:
|
|
||||||
COMPOSER_FLAGS: "--no-dev --no-interaction"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Upload Release Asset
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: "Install PHP"
|
|
||||||
uses: "shivammathur/setup-php@v2"
|
|
||||||
with:
|
|
||||||
coverage: "none"
|
|
||||||
extensions: "intl"
|
|
||||||
ini-values: "memory_limit=-1"
|
|
||||||
php-version: "7.4"
|
|
||||||
|
|
||||||
- name: "Install dependencies from composer.lock using composer binary provided by system"
|
|
||||||
run: "composer install ${{ env.COMPOSER_FLAGS }}"
|
|
||||||
|
|
||||||
- name: Archive Release
|
|
||||||
uses: thedoctor0/zip-release@master
|
|
||||||
with:
|
|
||||||
type: 'zip'
|
|
||||||
filename: '${{ github.event.repository.name }}.zip'
|
|
||||||
exclusions: '*.git* /*node_modules/* .editorconfig'
|
|
||||||
|
|
||||||
- name: Upload Release
|
|
||||||
uses: ncipollo/release-action@v1
|
|
||||||
with:
|
|
||||||
artifacts: "${{ github.event.repository.name }}.zip"
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
with:
|
|
||||||
draft: true
|
|
||||||
files: ${{ github.event.repository.name }}.zip
|
|
Laden …
In neuem Issue referenzieren