diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 6dd554928..abfd85d49 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -2,6 +2,7 @@ name: Ubuntu CI on: - pull_request - push + - workflow_dispatch jobs: build: if: "!contains(github.event.head_commit.message, '[skip ubuntu ci]')" @@ -10,7 +11,7 @@ jobs: CXX: ${{ matrix.compiler }} CXXFLAGS: -std=${{ matrix.standard }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Install dependencies run: | diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 0477c8f4c..d067bc9e7 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -5,6 +5,7 @@ on: release: types: - published + workflow_dispatch: jobs: build: if: "!contains(github.event.head_commit.message, '[skip windows ci]')" @@ -14,7 +15,7 @@ jobs: CONAN_USER_HOME: ${{ github.workspace }}/win/build CONAN_USER_HOME_SHORT: None steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup NSIS run: |- @@ -64,3 +65,10 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh release upload ${{ github.event.release.tag_name }} $(Get-ChildItem anope-*.exe) + + - name: Upload artifact + if: "${{ github.event_name != 'release' }}" + uses: actions/upload-artifact@v5 + with: + name: windows-installer + path: ${{ github.workspace }}\build\\anope-*.exe