Skip to content

Commit

Permalink
Update update-abilities.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Soof4 authored Nov 18, 2023
1 parent a322993 commit 0bc829a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-abilities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ jobs:
run: |
cd Dependencies
RELEASE_NAME=$(curl -s "https://api.github.com/repos/Soof4/Abilities/releases/latest" | grep -oP '"tag_name": "\K(.*)(?=")')
wget -q --output-document=Dependencies/Abilities.dll "https://github.com/Soof4/Abilities/releases/download/$RELEASE_NAME/Abilities.dll"
wget -q --output-document=Abilities.dll "https://github.com/Soof4/Abilities/releases/download/$RELEASE_NAME/Abilities.dll"
shell: bash

- name: Push DLL to Dependencies
run: |
cp Abilities.dll Dependencies/Abilities.dll
git config user.name "Github Actions"
git config user.email "actions@github.com"
git add Dependencies/Abilities.dll
git add .
git commit -m "Update Abilities DLL"
git push origin main
shell: bash
Expand Down

0 comments on commit 0bc829a

Please sign in to comment.