Update input.js #80
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: Decode JavaScript File | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
decode: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Execute Python script for decoding | |
run: | | |
python src/decode.py | |
- name: Install dependencies and run decode | |
run: | | |
npm install | |
npm run decode -- [-i input.js] [-o output.js] | |
- name: Configure Git author | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "action" | |
- name: Save decoded output to repository | |
run: | | |
git status | |
ls | |
git add output.js | |
git add output.py | |
git commit -m "Add decoded output file" | |
git push | |