1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Backport CI changes from the 2.1 branch.

This commit is contained in:
Sadie Powell
2025-12-03 16:26:32 +00:00
parent 5a9f581491
commit f526932882
2 changed files with 11 additions and 2 deletions
+2 -1
View File
@@ -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: |
+9 -1
View File
@@ -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