Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Dec 17, 2023
1 parent c720e04 commit 5ae0586
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: ["*"]
pull_request:
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -33,3 +34,23 @@ jobs:
with:
name: menu
path: build/menu.dll
publish:
needs: build
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: rickstaa/action-create-tag@v1
with:
tag: dev
force_push_tag: true
- uses: ncipollo/release-action@v1
with:
commit: ${{ github.sha }}
tag: dev
artifacts: "menu/*.dll"
allowUpdates: true
prerelease: true
name: Dev build
body: Development build

0 comments on commit 5ae0586

Please sign in to comment.