Skip to content

Commit

Permalink
ouch
Browse files Browse the repository at this point in the history
  • Loading branch information
mintyleaf committed Nov 18, 2020
1 parent 0814c4e commit 2976272
Show file tree
Hide file tree
Showing 2 changed files with 28,952 additions and 28,949 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,40 @@ jobs:
runs-on: ubuntu-latest
outputs:
prev_hash: ${{ steps.prev_hash.outputs.prhash }}
new_hash: ${{ steps.new_hash.outputs.pohash }}
post_hash: ${{ steps.post_hash.outputs.pohash }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.3
with:
fetch-depth: 0

- id: prev_hash
run: |
echo "::set-output name=pohash::$(git log -1 --format=%h)"
echo "::set-output name=prhash::$(git log -1 --format=%h)"
- run: "./oui_update.sh"

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Daily autoupdate

- id: new_hash
- id: post_hash
run: |
echo "::set-output name=prhash::$(git log -1 --format=%h)"
echo "::set-output name=pohash::$(git log -1 --format=%h)"
Release:
runs-on: ubuntu-latest
needs: [FetchMap]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2.3.3
with:
fetch-depth: 0

- id: dbg
env:
PREV_HASH: ${{ needs.FetchMap.outputs.prev_hash }}
POST_HASH: ${{ needs.FetchMap.outputs.new_hash }}
POST_HASH: ${{ needs.FetchMap.outputs.post_hash }}
run: |
echo "$PREV_HASH -> $POST_HASH"
Expand Down
Loading

0 comments on commit 2976272

Please sign in to comment.