-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tasks: * Fixes Issue #25 * Fixes Issue #27 * Change CI to Key and release driven Resolves: #27 Resolves: #25
- Loading branch information
Showing
3 changed files
with
15 additions
and
24 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 |
---|---|---|
@@ -1,30 +1,16 @@ | ||
name: Publish | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
release: | ||
types: [published] | ||
|
||
|
||
jobs: | ||
publish: | ||
name: Publish to TER | ||
TERUpload: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
- name: Set up PHP Version 7.4 | ||
uses: shivammathur/setup-php@v2 | ||
- uses: actions/checkout@v1 | ||
- uses: tomasnorre/typo3-upload-ter@v2 | ||
with: | ||
php-version: 7.4 | ||
- name: Install Dependencies - move old composer.json | ||
run: | | ||
mv composer.json composer.json-orig | ||
composer require phpoffice/phpspreadsheet 1.17.1 --ignore-platform-reqs --no-progress | ||
mv composer.json-orig composer.json | ||
rm composer.lock | ||
- name: Publish to TER | ||
uses: the-coding-owl/[email protected] | ||
env: | ||
SECRET_USERNAME: ${{ secrets.USERNAME }} | ||
SECRET_PASSWORD: ${{ secrets.PASSWORD }} | ||
EXTENSION_KEY: 'xlsimport' | ||
UPLOAD_MESSAGE: ${{ github.event.head_commit.message }} | ||
api-token: ${{ secrets.TYPO3_API_TOKEN }} |
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
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