Skip to content

Commit

Permalink
Build server async and move checkout for master
Browse files Browse the repository at this point in the history
  • Loading branch information
BasieBrinkie authored Jan 8, 2022
1 parent 16dbef1 commit 3ec4483
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,17 @@ jobs:
myToken: ${{ secrets.GITHUB_TOKEN }}
- name: Save Changelog to Repo
run: |
git fetch
git checkout master
git config --global user.name 'CI Workflow'
git config --global user.email 'noreply@nourl.com'
touch CHANGELOG.md
mv CHANGELOG.md CHANGELOG_OLD.md
echo "## (${{ needs.modpack-info.outputs.tag }})" > CHANGELOG.md
echo "${{ steps.changelog.outputs.changelog }}" >> CHANGELOG.md
cat CHANGELOG_OLD.md >> CHANGELOG.md
git fetch
git checkout master
git config --global user.name 'CI Workflow'
git config --global user.email 'noreply@nourl.com'
git add CHANGELOG.md
git commit -am "Update CHANGELOG.md"
git push
Expand Down Expand Up @@ -99,7 +100,7 @@ jobs:

build-server:
runs-on: ubuntu-latest
needs: [build-modpack, changelog, modpack-info]
needs: [changelog, modpack-info]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 3ec4483

Please sign in to comment.