diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ee9a8f..aae34b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,7 @@ on: push: branches: ["*"] pull_request: + workflow_dispatch: jobs: build: @@ -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 \ No newline at end of file