From ee0a203caa45cdd745f33fd3d728e177052de35f Mon Sep 17 00:00:00 2001 From: dev Date: Thu, 28 Nov 2024 16:24:48 +0530 Subject: [PATCH] Removed functionality to commit files as artifact --- action.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/action.yml b/action.yml index 93fe512..9e3996e 100644 --- a/action.yml +++ b/action.yml @@ -42,9 +42,6 @@ inputs: description: 'Set as true to fetch the entity URLs headlessly' offset: description: 'Offset for paginated pages' - save-method: - description: 'Method to save the data commit/artifact, defaults to commit' - default: 'commit' runs: using: 'composite' @@ -118,7 +115,7 @@ runs: shell: bash - name: Commit and Push Changes - if: ${{ inputs.save_method == 'commit' && (inputs.mode == 'fetch' || inputs.mode == 'fetch-push') }} + if: ${{ inputs.mode == 'fetch' || inputs.mode == 'fetch-push' }} run: | git config --local user.email "actions@github.com" git config --local user.name "GitHub Actions" @@ -130,15 +127,6 @@ runs: env: GITHUB_TOKEN: ${{ inputs.token }} - - name: Save file as artifact - if: ${{ inputs.save_method == 'artifact' && (inputs.mode == 'fetch' || inputs.mode == 'fetch-push') }} - uses: actions/upload-artifact@v4 - with: - name: jsonld-data - path: output/ - env: - GITHUB_TOKEN: ${{ inputs.token }} - - name: Push to Artsdata if: ${{ inputs.mode == 'push' || inputs.mode == 'fetch-push' }} run: |