Skip to content

Commit

Permalink
Update update2deb.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Crilum authored May 20, 2022
1 parent eb4dd83 commit ca5f1a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update2deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@ jobs:
- name: save working directory in variable 'DIR'
run: echo "DIR=$(pwd)" >> $GITHUB_ENV

#- name: Clone repo
# run: git clone https://github.com/Crilum/update
- name: Clone repo
run: git clone https://github.com/Crilum/update
# Runs a single command using the runners shell
- name: Build DEB and RPM
run: |
LATEST=`curl -s https://api.github.com/repos/Crilum/update/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")' | tr -d 'v'`
cd update
mkdir updatedeb && cd updatedeb
mkdir -p usr/bin/
mv ../update usr/bin/update
Expand Down

0 comments on commit ca5f1a1

Please sign in to comment.