Skip to content

Commit

Permalink
Release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
regdos committed Sep 8, 2023
1 parent be70398 commit 095417a
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -5,16 +5,29 @@
description: 'Plugin Version'
type: string
required: true

env:
PLUGIN_VERSION: ${{ inputs.pluginVersion }}

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@master
- name: Archive Release
env:
PLUGIN_VERSION: ${{ inputs.logLevel }}
- uses: actions/checkout@v4
- name: Create archive
uses: thedoctor0/zip-release@0.7.1
with:
type: 'zip'
directory: 'payu'
filename: 'payu_prestashop_plugin_${{ inputs.logLevel }}.zip'
filename: 'payu_prestashop_plugin_${{ env.PLUGIN_VERSION }}.zip'
- run: ls -la payu
# - name: Release
# uses: ncipollo/release-action@v1
# with:
# name: '${{ env.PLUGIN_VERSION }}'
# artifacts: 'payu_prestashop_plugin_${{ env.PLUGIN_VERSION }}.zip'
# tag: 'v${{ env.PLUGIN_VERSION }}'
# commit: 'master'
# generateReleaseNotes: true

0 comments on commit 095417a

Please sign in to comment.