This repository has been archived by the owner on Jan 19, 2025. It is now read-only.
[Master] Discord Link Update & Remove End Of Support message #13582
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Exiled Programs CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
# Prevent double running for push & pull_request events from the main repo | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'Exiled-Team/Exiled' | |
name: .Net Core ${{ matrix.framework }} on ${{ matrix.os }} for ${{ matrix.proj_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
proj_name: [Exiled.Installer] | |
include: | |
- os: ubuntu-latest | |
target: linux-x64 | |
- os: windows-latest | |
target: win-x64 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
- name: Install dependencies for ${{ matrix.proj_name }}@${{ matrix.target }} | |
run: dotnet restore ${{ matrix.proj_name }} -r ${{ matrix.target }} | |
- name: Build ${{ matrix.proj_name }}@${{ matrix.target }} | |
run: dotnet publish ${{ matrix.proj_name }} -r ${{ matrix.target }} -c release -o builds/${{ matrix.target }} --self-contained true | |
- name: Upload ${{ matrix.proj_name }}@${{ matrix.target }} build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.proj_name }}-${{ matrix.target }} | |
path: builds/${{ matrix.target }} |