Skip to content

Commit

Permalink
fix copy command
Browse files Browse the repository at this point in the history
  • Loading branch information
allancoding committed Oct 25, 2023
1 parent c931754 commit 9f420be
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ jobs:
run: |
sed -i "s/pkgver=.*/pkgver=${{ steps.extract_version.outputs.version }}/" PKGBUILD
git clone [email protected]:ascii-battleship.git
cp -u ./README.md ascii-battleship/README.md
cp -u ./LICENSE ascii-battleship/LICENSE
cp -u ./PKGBUILD ascii-battleship/PKGBUILD
cp -rf ./README.md ascii-battleship/README.md
cp -rf ./LICENSE ascii-battleship/LICENSE
cp -rf ./PKGBUILD ascii-battleship/PKGBUILD
cd ascii-battleship
git config --global user.email "${{ secrets.GIT_EMAIL }}"
git config --global user.name "${{ secrets.GIT_USERNAME }}"
sed -i "s/pkgver=.*/pkgver=${{ steps.extract_version.outputs.version }}/" PKGBUILD
cat PKGBUILD
- name: Validate package
uses: hapakaien/archlinux-package-action@v2
Expand Down

0 comments on commit 9f420be

Please sign in to comment.