Try bash manipulations
This commit is contained in:
@@ -25,8 +25,11 @@ jobs:
|
||||
id: repo
|
||||
run: echo "::set-output name=repo::$(result=$(echo "basename ${{ gitea.repository }}"))"
|
||||
|
||||
- name: "Verify variable"
|
||||
run: echo ${GITEA_REPOSITORY#*/}
|
||||
|
||||
- name: Zip repository
|
||||
run: zip -r ${{ steps.repo.outputs.repo }}-${{ steps.date.outputs.date }}.zip . -x "*.git*"
|
||||
run: zip -r ${GITEA_REPOSITORY#*/}-${{ steps.date.outputs.date }}.zip . -x "*.git*"
|
||||
|
||||
- name: Release artifacts to Gitea repository
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
@@ -34,6 +37,6 @@ jobs:
|
||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||
with:
|
||||
files: |-
|
||||
${{ steps.repo.outputs.repo }}-${{ inputs.version }}.zip
|
||||
${GITEA_REPOSITORY#*/}-${{ inputs.version }}.zip
|
||||
tag_name: ${{ inputs.version }}
|
||||
name: Release - ${{ inputs.version }}
|
||||
Reference in New Issue
Block a user