Skip to content

Commit

Permalink
chore: earlier pull
Browse files Browse the repository at this point in the history
  • Loading branch information
teaSummer authored Jun 25, 2024
1 parent 7512f45 commit f36b3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/launcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- name: Handle files
id: handle
run: |
git pull --rebase
API=`echo ${{ matrix.url }} | sed 's/:\/\/github\.com\//:\/\/api.github.com\/repos\//g' | sed 's/$/\/releases/g'`
wget -O latest.json $API/latest || echo '{"tag_name":""}' > latest.json
wget -O releases.json $API
Expand Down Expand Up @@ -140,7 +141,6 @@ jobs:
[Auto] Update Launcher Version:
'"$CHANGELOG
(Time: `date +'%F %X %Z'`)"
git pull --rebase
- name: Push changes
if: ${{ steps.commit.outcome == 'success' }}
id: push
Expand Down

0 comments on commit f36b3dc

Please sign in to comment.