Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsubasa6848 committed Mar 23, 2024
2 parents 250653a + 0034f21 commit 33f352e
Show file tree
Hide file tree
Showing 14 changed files with 672 additions and 82 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,10 @@ jobs:
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: |
bin/
bin/DLL/
- uses: actions/upload-artifact@v3
with:
name: PDB
path: |
bin/PDB/
39 changes: 28 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: recursive

- uses: actions/checkout@v4

- uses: xmake-io/github-action-setup-xmake@v1
Expand All @@ -29,7 +29,13 @@ jobs:
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: |
bin/
bin/DLL/
- uses: actions/upload-artifact@v3
with:
name: PDB
path: |
bin/PDB/
upload-to-release:
needs:
Expand All @@ -38,24 +44,35 @@ jobs:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- name: Download Plugin
uses: actions/download-artifact@v3
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: release/
path: release/Plugin/

- run: |
cp LICENSE README.md release/
- name: Download PDB
uses: actions/download-artifact@v3
with:
name: PDB
path: release/PDB/

- name: Copy additional files
run: |
cp LICENSE README.md release/Plugin/
- name: Archive release
run: |
cd release
cd release/Plugin
zip -r ../${{ github.event.repository.name }}-windows-x64.zip *
cd ..
- uses: softprops/action-gh-release@v1
- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v1
with:
append_body: true
files: |
${{ github.event.repository.name }}-windows-x64.zip
release/${{ github.event.repository.name }}-windows-x64.zip
release/PDB/${{ github.event.repository.name }}.pdb
Loading

0 comments on commit 33f352e

Please sign in to comment.