Skip to content

Commit

Permalink
update gh action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
poderosaproject committed Feb 11, 2024
1 parent ac72184 commit 8cfd801
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
- run: cmd.exe /c build\buildall.bat Release GA
- run: dir; dir bin; dir bin\Release
- run: Compress-Archive "bin\Release\*" "bin\Poderosa-snapshot-${{ github.ref_name }}.zip"
- run: dir bin
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build-logs
path: build/*.log
- uses: softprops/action-gh-release@v1
- uses: ncipollo/release-action@v1
with:
target_commitish: devel
draft: true
generateReleaseNotes: true
prerelease: true
files: bin/*.zip
artifacts: bin/*.zip
10 changes: 5 additions & 5 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
- run: cmd.exe /c build\buildall.bat Release GA
Expand All @@ -18,12 +18,12 @@ jobs:
- run: Compress-Archive "dist\Poderosa" "dist\Poderosa-${{ github.ref_name }}-bin.zip"
- run: Compress-Archive "dist\ContributedPlugins" "dist\ContributedPlugins-${{ github.ref_name }}-bin.zip"
- run: dir dist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: build-logs
path: build/*.log
- uses: softprops/action-gh-release@v1
- uses: ncipollo/release-action@v1
with:
target_commitish: master
draft: true
files: dist/*.zip
generateReleaseNotes: true
artifacts: dist/*.zip

0 comments on commit 8cfd801

Please sign in to comment.