Try previous with echo
This commit is contained in:
@@ -22,10 +22,11 @@ jobs:
|
||||
run: git lfs checkout
|
||||
|
||||
- name: Get current repo
|
||||
run: echo "REPO_NAME=$(basename $GITHUB_REPOSITORY)" >> $GITHUB_ENV
|
||||
id: repo
|
||||
run: echo "::set-output name=repo::$(result=$(echo "basename $GITHUB_REPOSITORY")"
|
||||
|
||||
- name: Zip repository
|
||||
run: zip -r ${{ vars.REPO_NAME }}-${{ steps.date.outputs.date }}.zip -x "*.git*"
|
||||
run: zip -r {{ steps.repo.outputs.repo }}-${{ steps.date.outputs.date }}.zip . -x "*.git*"
|
||||
|
||||
- name: Release artifacts to Gitea repository
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
@@ -33,6 +34,6 @@ jobs:
|
||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||
with:
|
||||
files: |-
|
||||
${{ vars.REPO_NAME }}-${{ inputs.version }}.zip
|
||||
{{ steps.repo.outputs.repo }}-${{ inputs.version }}.zip
|
||||
tag_name: ${{ inputs.version }}
|
||||
name: Release - ${{ inputs.version }}
|
||||
Reference in New Issue
Block a user