Skip to content

Commit

Permalink
Crossplay Support (#619)
Browse files Browse the repository at this point in the history
* Crossplay Support

* Added variable info

* Dont error with no crossplay :P

* linted
  • Loading branch information
mbround18 authored Oct 11, 2022
1 parent 7588267 commit 6b2bf23
Show file tree
Hide file tree
Showing 26 changed files with 414 additions and 1,855 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
target/
tmp/
docs/
.run
docker-compose*
node_modules/
package.json
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@ on:
env:
CARGO_TERM_COLOR: always

jobs:
cancel-previous:
name: Cancel Previous
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
publish:
runs-on: ubuntu-latest
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ name: Enforce PR labels
on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
cancel-previous:
name: Cancel Previous
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
enforce-label:
runs-on: ubuntu-latest
steps:
Expand Down
19 changes: 4 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ on: [push]
env:
GH_TOKEN: "${{ secrets.GH_TOKEN }}"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
cancel-previous:
name: Cancel Previous
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
release:
name: Release Train WooohWoooohh
runs-on: ubuntu-latest
Expand All @@ -23,11 +20,6 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}

- uses: actions/setup-node@v3
with:
cache: "yarn"
node-version: "16"

- name: Setup | Rust | Nightly
uses: ATiltedTree/setup-rust@v1
with:
Expand All @@ -53,9 +45,6 @@ jobs:
files: target/release/odin target/release/huginn
dest: tmp/bundle.zip

- name: Yarn install
run: yarn install

- name: Auto Release Tool by Intuit
uses: mbround18/[email protected]
with:
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,15 @@ on:
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
NAME: "Rust Test"
CARGO_TERM_COLOR: always

jobs:
cancel-previous:
name: Cancel Previous
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

build-nd-test:
name: Build & Test
runs-on: ubuntu-latest
Expand All @@ -40,6 +36,7 @@ jobs:
target/release
target/debug
key: ${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}

- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
target
.yarn
*pnp*
tmp/
783 changes: 0 additions & 783 deletions .yarn/releases/yarn-3.2.3.cjs

This file was deleted.

5 changes: 0 additions & 5 deletions .yarn/sdks/integrations.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/typescript/bin/tsc

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/typescript/bin/tsserver

This file was deleted.

20 changes: 0 additions & 20 deletions .yarn/sdks/typescript/lib/tsc.js

This file was deleted.

Loading

0 comments on commit 6b2bf23

Please sign in to comment.