Update Search.svelte #190
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CSV as Table md | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: CSV as Table | |
runs-on: ubuntu-latest | |
steps: | |
- name: "📥 Checkout Repo" | |
uses: actions/checkout@master | |
- name: "💾 Github Repository Metadata" | |
uses: varunsridharan/action-repository-meta@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: "📡 Read CSV" | |
id: csv-read | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: ./data/waxtane.csv | |
- name: "✂️ CUT CSV" | |
id: csv-cut | |
uses: cisox/read-more-action@v1.0.2 | |
with: | |
text: ${{ steps.csv-read.outputs.content }} | |
max_lines: 52 | |
- name : "🧮 Converte CVS to Table" | |
id: csv-table-output | |
uses: petems/csv-to-md-table-action@master | |
with: | |
csvinput: ${{ steps.csv-cut.outputs.text }} | |
- name: "🔡 Set ENV TABLE_VAR" | |
run: | | |
echo 'TABLE_VAR<<EOF' >> $GITHUB_ENV | |
echo "${{steps.csv-table-output.outputs.markdown-table}}" >> $GITHUB_ENV | |
echo 'EOF' >> $GITHUB_ENV | |
- name: "💫 Update README.md" | |
uses: varunsridharan/action-dynamic-readme@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
global_template_repository: varunsridharan/varunsridharan | |
commit_message: '📝 docs(data): Waxtane update' | |
files: | | |
templates/README.md=README.md |