Update address.txt #328
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: Git Checker | |
on: [push, pull_request] | |
jobs: | |
git: | |
runs-on: ubuntu-latest | |
env: | |
path: git-majonez | |
steps: | |
- name: Check out code | |
uses: actions/checkout@master | |
- name: Set the repo address | |
run: | | |
echo -n "repo=" >> $GITHUB_ENV | |
cat homework/address.txt >> $GITHUB_ENV | |
- name: Checkout git-majonez repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
repository: ${{ env.repo }} | |
path: ${{ env.path }} | |
- name: Run tree-check.sh | |
working-directory: .github/scripts | |
run: ./tree-check.sh ../../${{ env.path }} | |
- name: Run history-check.sh | |
working-directory: .github/scripts | |
run: ./history-check.sh ../../${{ env.path }}/history.txt |