New release app #6
Workflow file for this run
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
name: New release app | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
inputs: | |
tag-version: | |
description: 'The tag version, branch name or SHA to checkout' | |
required: true | |
jobs: | |
create-archive: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Compress repo to Tar | |
uses: a7ul/tar-action@v1.1.0 | |
id: compress | |
with: | |
command: c | |
cwd: ./ | |
files: | | |
./ | |
outPath: pwa.tar.gz | |
- name: Upload File | |
id: upload | |
uses: JantHsueh/upload-file-action@1.0 | |
with: | |
url: "https://pwapublish.plentysystems.com/storeDefaultApplication" | |
forms: '{ "token": "${{ secrets.URL_ENDPOINT_TOKEN }}" }' | |
fileForms: '{ "file": "pwa.tar.gz" }' | |