Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sniper00 committed Jan 24, 2024
1 parent 7a7793d commit 4545a73
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux-gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ jobs:
cp -r lualib publish/
cp -r service publish/
cp -r example publish/
cp -r test publish/
cp moon publish/
cd publish
tar -zcvf linux-amd64.tar.gz ./*
tar -zcvf linux-amd64.tar.gz -C publish .
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: linux-amd64.tar.gz
path: publish/linux-amd64.tar.gz
path: publish/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: publish/linux-amd64.tar.gz
files: linux-amd64.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/macos-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
uses: actions/upload-artifact@v3.1.3
with:
name: darwin-amd64.tar.gz
path: publish/darwin-amd64.tar.gz
path: publish/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: publish/darwin-amd64.tar.gz
files: darwin-amd64.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/windows-vs2022.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ jobs:
cp -r lualib publish/
cp -r service publish/
cp -r example publish/
cp -r test publish/
cp moon.exe publish/
cd publish
tar -zcvf windows-amd64.tar.gz ./*
tar -zcvf windows-amd64.tar.gz -C publish .
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
with:
name: windows-amd64.tar.gz
path: publish/windows-amd64.tar.gz
path: publish/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: publish/windows-amd64.tar.gz
files: windows-amd64.tar.gz
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4545a73

Please sign in to comment.