Skip to content

Commit

Permalink
Release 1.2.3 Release (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 authored Oct 16, 2022
1 parent 5705a7e commit cae9f7e
Show file tree
Hide file tree
Showing 588 changed files with 18,100 additions and 15,659 deletions.
49 changes: 0 additions & 49 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

100 changes: 100 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_form.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: 🕷️ Bug Report
description: Report a bug.
labels: "state-needs-triage"
assignees: Danielku15
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
id: current
attributes:
label: Current Behavior
description: A concise description of what you're experiencing.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1.
2.
3.
4.
validations:
required: true
- type: input
id: link
attributes:
label: Link to jsFiddle, CodePen, Project
description: Providing a minimal reproducible example can help a lot.
validations:
required: false
- type: dropdown
id: version
attributes:
label: Found in Version
description: Which version of alphaTab are you using?
options:
- 1.3-alpha
- 1.2
- 1.1
- 1.0
- Other
validations:
required: true
- type: dropdown
id: platform
attributes:
label: Platform
description: On which platform are you using alphaTab?
options:
- Web
- Node.js
- .net (WPF)
- .net (WinForms)
- .net (Other)
- Android (WebView)
- Android (Native)
- iOS (WebView)
- Other
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: |
examples:
- **OS**: Windows 10 Pro
- **Browser**: Chrome 92.0.4515.159
value: |
- **OS**:
- **Browser**:
- **.net Version**:
render: markdown
validations:
required: true
- type: textarea
id: further
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "nuget"
directory: "/src.csharp"
schedule:
interval: "weekly"
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ on:
- develop
- master
pull_request:
workflow_dispatch:

jobs:
build_web:
name: Build and Test Web
runs-on: windows-latest
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- run: npm install
Expand All @@ -21,15 +22,16 @@ jobs:

build_csharp:
name: Build and Test C#
runs-on: windows-latest
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.100'
dotnet-version: |
6.0.x
- run: npm install
- run: npm run build-csharp-ci
- run: npm run test-csharp-ci
- run: npm run test-csharp-ci
22 changes: 22 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Dependabot auto-merge
on: pull_request

permissions:
pull-requests: write
contents: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
107 changes: 80 additions & 27 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,103 @@
name: Publish
on:
push:
branches:
- develop

schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
nighty_web:
name: Web
runs-on: windows-latest
runs-on: windows-2022
steps:
# Checkout the repo
- uses: actions/checkout@v2
- name: Create cache file
run: |
mkdir check-sha
echo ${{ github.sha }} >> github-sha.txt
- name: Check SHA
id: check_sha
uses: actions/cache@v2
with:
path: check-sha
key: check-sha-${{ github.sha }}

- name: Checkout the repo
if: steps.check_sha.outputs.cache-hit != 'true'
uses: actions/checkout@v2

- name: Setup Node
if: steps.check_sha.outputs.cache-hit != 'true'
uses: actions/setup-node@v2
with:
node-version: '16'

# Build Project
- uses: actions/setup-node@master
- name: Build Project
if: steps.check_sha.outputs.cache-hit != 'true'
run: |
npm install
node ./scripts/update-version.js alpha ${{github.run_number}}
npm run build-ci
# Publish to GitHub Package Registry
- uses: actions/setup-node@master
- uses: actions/setup-node@v2
if: steps.check_sha.outputs.cache-hit != 'true'
with:
node-version: '12.x'
node-version: '16'
registry-url: https://registry.npmjs.org/
- name: Publish to GitHub Package Registry (alpha)

- name: Publish to NPM (alpha)
if: steps.check_sha.outputs.cache-hit != 'true'
run: npm publish --access public --tag alpha
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_AUTH_TOKEN}}

nightly_csharp:
name: C#
runs-on: windows-latest
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Create cache file
run: |
mkdir check-sha
echo ${{ github.sha }} >> github-sha.txt
- name: Check SHA
id: check_sha
uses: actions/cache@v2
with:
node-version: '12.x'
- uses: actions/setup-dotnet@v1
path: check-sha
key: check-sha-${{ github.sha }}

- name: Checkout the repo
if: steps.check_sha.outputs.cache-hit != 'true'
uses: actions/checkout@v2

- name: Setup Node
if: steps.check_sha.outputs.cache-hit != 'true'
uses: actions/setup-node@v2
with:
dotnet-version: '3.1.100'
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
node-version: '16'

- name: Setup DotNet
if: steps.check_sha.outputs.cache-hit != 'true'
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
6.0.x
- run: npm install
- run: node ./scripts/update-csharp-version.js alpha ${{github.run_number}}
- run: npm run build-csharp-ci
- run: dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
- run: dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
if: steps.check_sha.outputs.cache-hit != 'true'

- name: Update C# Version
if: steps.check_sha.outputs.cache-hit != 'true'
run: node ./scripts/update-csharp-version.js alpha ${{github.run_number}}

- name: Build Project
if: steps.check_sha.outputs.cache-hit != 'true'
run: npm run build-csharp-ci

- name: Publish AlphaTab.nupkg
if: steps.check_sha.outputs.cache-hit != 'true'
run: dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json

- name: Publish AlphaTab.Windows.nupkg
if: steps.check_sha.outputs.cache-hit != 'true'
run: dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
release_web:
name: Web
runs-on: windows-latest
runs-on: windows-2022
steps:
# Checkout the repo
- uses: actions/checkout@v2
Expand All @@ -32,15 +32,16 @@ jobs:

release_csharp:
name: C#
runs-on: windows-latest
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.100'
dotnet-version: |
6.0.x
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
- run: npm install
Expand Down
Loading

0 comments on commit cae9f7e

Please sign in to comment.