Update README.md 馃 #5
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: "swiftly_joinleave Compiler" | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
container: ${{ matrix.container }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
include: | |
- os: windows-latest | |
- os: ubuntu-latest | |
container: registry.gitlab.steamos.cloud/steamrt/sniper/sdk | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: swiftly_joinleave | |
submodules: recursive | |
- name: Checkout Swiftly | |
uses: actions/checkout@v4 | |
with: | |
repository: swiftly-solution/swiftly | |
ref: master | |
path: swiftly | |
- name: Installing Swiftly Scripting files | |
run: | | |
cd swiftly; mv plugin_files/scripting/* ..; cd .. | |
- name: Build | |
working-directory: swiftly_joinleave | |
run: | | |
make | |
- name: Upload Files - Linux | |
if: matrix.os == 'ubuntu-latest' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: swiftly_joinleave Plugin - Linux | |
path: ${{ github.workspace }}/swiftly_joinleave/output | |
- name: Upload Files - Windows | |
if: matrix.os == 'windows-latest' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: swiftly_joinleave Plugin - Windows | |
path: ${{ github.workspace }}/swiftly_joinleave/output |