-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from prefixaut/develop
StepMania Update
- Loading branch information
Showing
28 changed files
with
3,527 additions
and
584 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: Documentation update | ||
|
||
on: | ||
push: | ||
branches: [ 'master' ] | ||
|
||
jobs: | ||
update-docs: | ||
name: Update Documentation | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Basic Setup | ||
- uses: actions/checkout@v2 | ||
- name: Setup Nim Environment 1.6.x | ||
uses: jiro4989/setup-nim-action@v1 | ||
with: | ||
nim-version: 1.6.x | ||
- name: Cache nimble | ||
id: cache-nimble | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.nimble | ||
key: ${{ runner.os }}-nimble-${{ matrix.nim }}-${{ hashFiles('*.nimble') }} | ||
|
||
# Build documentation | ||
- name: Build documentation | ||
run: nimble docs | ||
|
||
# Deploy the documentation | ||
- name: Deploy to GitHub-Pages | ||
uses: JamesIves/github-pages-deploy-action@v4.2.3 | ||
with: | ||
branch: gh-pages | ||
folder: docs |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: [ '*' ] | ||
|
||
jobs: | ||
release: | ||
name: Release ${{ matrix.os }} with nim 1.6.x | ||
|
||
strategy: | ||
matrix: | ||
os: [ 'ubuntu-latest', 'windows-latest', 'macos-latest' ] | ||
|
||
runs-on: ${{ matrix.os }} | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
# Basic Setup | ||
- uses: actions/checkout@v2 | ||
- name: Setup Nim Environment 1.6.x | ||
uses: jiro4989/setup-nim-action@v1 | ||
with: | ||
nim-version: 1.6.x | ||
- name: Cache nimble | ||
id: cache-nimble | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.nimble | ||
key: ${{ runner.os }}-nimble-${{ matrix.nim }}-${{ hashFiles('*.nimble') }} | ||
if: runner.os != 'Windows' | ||
|
||
# Build the release elements | ||
- name: Create Library Release Build | ||
run: nimble clib -d:release | ||
|
||
- name: Create CLI Release Build | ||
run: nimble build -d:release | ||
|
||
# Create/Update the release | ||
- name: Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: "dist/*" | ||
allowUpdates: true | ||
prerelease: ${{ endsWith(github.ref, 'rc') || endsWith(github.ref, 'snapshot') }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
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
Oops, something went wrong.