Simplified?

This commit is contained in:
2025-01-08 12:46:21 -05:00
parent 8483efc9b6
commit ee3150399f

View File

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