Skip to content

Commit

Permalink
Removed functionality to commit files as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-aravind committed Nov 28, 2024
1 parent a9e3268 commit ee0a203
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 "[email protected]"
git config --local user.name "GitHub Actions"
Expand All @@ -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: |
Expand Down

0 comments on commit ee0a203

Please sign in to comment.