Skip to content

Commit cae9f7e

Browse files
authored
Release 1.2.3 Release (#995)
1 parent 5705a7e commit cae9f7e

File tree

588 files changed

+18100
-15659
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

588 files changed

+18100
-15659
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: 🕷️ Bug Report
2+
description: Report a bug.
3+
labels: "state-needs-triage"
4+
assignees: Danielku15
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Is there an existing issue for this?
9+
description: Please search to see if an issue already exists for the bug you encountered.
10+
options:
11+
- label: I have searched the existing issues
12+
required: true
13+
- type: textarea
14+
id: current
15+
attributes:
16+
label: Current Behavior
17+
description: A concise description of what you're experiencing.
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: expected
22+
attributes:
23+
label: Expected Behavior
24+
description: A concise description of what you expected to happen.
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: steps
29+
attributes:
30+
label: Steps To Reproduce
31+
description: Steps to reproduce the behavior.
32+
placeholder: |
33+
1.
34+
2.
35+
3.
36+
4.
37+
validations:
38+
required: true
39+
- type: input
40+
id: link
41+
attributes:
42+
label: Link to jsFiddle, CodePen, Project
43+
description: Providing a minimal reproducible example can help a lot.
44+
validations:
45+
required: false
46+
- type: dropdown
47+
id: version
48+
attributes:
49+
label: Found in Version
50+
description: Which version of alphaTab are you using?
51+
options:
52+
- 1.3-alpha
53+
- 1.2
54+
- 1.1
55+
- 1.0
56+
- Other
57+
validations:
58+
required: true
59+
- type: dropdown
60+
id: platform
61+
attributes:
62+
label: Platform
63+
description: On which platform are you using alphaTab?
64+
options:
65+
- Web
66+
- Node.js
67+
- .net (WPF)
68+
- .net (WinForms)
69+
- .net (Other)
70+
- Android (WebView)
71+
- Android (Native)
72+
- iOS (WebView)
73+
- Other
74+
validations:
75+
required: true
76+
- type: textarea
77+
id: environment
78+
attributes:
79+
label: Environment
80+
description: |
81+
examples:
82+
- **OS**: Windows 10 Pro
83+
- **Browser**: Chrome 92.0.4515.159
84+
value: |
85+
- **OS**:
86+
- **Browser**:
87+
- **.net Version**:
88+
render: markdown
89+
validations:
90+
required: true
91+
- type: textarea
92+
id: further
93+
attributes:
94+
label: Anything else?
95+
description: |
96+
Links? References? Anything that will give us more context about the issue you are encountering!
97+
98+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
99+
validations:
100+
required: false

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
8+
- package-ecosystem: "nuget"
9+
directory: "/src.csharp"
10+
schedule:
11+
interval: "weekly"

.github/workflows/build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on:
55
- develop
66
- master
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
1011
build_web:
1112
name: Build and Test Web
12-
runs-on: windows-latest
13+
runs-on: windows-2022
1314
steps:
1415
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
16+
- uses: actions/setup-node@v2
1617
with:
1718
node-version: '12.x'
1819
- run: npm install
@@ -21,15 +22,16 @@ jobs:
2122

2223
build_csharp:
2324
name: Build and Test C#
24-
runs-on: windows-latest
25+
runs-on: windows-2022
2526
steps:
2627
- uses: actions/checkout@v2
27-
- uses: actions/setup-node@v1
28+
- uses: actions/setup-node@v2
2829
with:
2930
node-version: '12.x'
3031
- uses: actions/setup-dotnet@v1
3132
with:
32-
dotnet-version: '3.1.100'
33+
dotnet-version: |
34+
6.0.x
3335
- run: npm install
3436
- run: npm run build-csharp-ci
35-
- run: npm run test-csharp-ci
37+
- run: npm run test-csharp-ci

.github/workflows/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Dependabot auto-merge
2+
on: pull_request
3+
4+
permissions:
5+
pull-requests: write
6+
contents: write
7+
8+
jobs:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: ${{ github.actor == 'dependabot[bot]' }}
12+
steps:
13+
- name: Dependabot metadata
14+
id: metadata
15+
uses: dependabot/[email protected]
16+
with:
17+
github-token: "${{ secrets.GITHUB_TOKEN }}"
18+
- name: Enable auto-merge for Dependabot PRs
19+
run: gh pr merge --auto --squash "$PR_URL"
20+
env:
21+
PR_URL: ${{github.event.pull_request.html_url}}
22+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/publish.yml

Lines changed: 80 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,103 @@
11
name: Publish
22
on:
3-
push:
4-
branches:
5-
- develop
6-
3+
schedule:
4+
- cron: '0 0 * * *'
5+
workflow_dispatch:
6+
77
jobs:
88
nighty_web:
99
name: Web
10-
runs-on: windows-latest
10+
runs-on: windows-2022
1111
steps:
12-
# Checkout the repo
13-
- uses: actions/checkout@v2
12+
- name: Create cache file
13+
run: |
14+
mkdir check-sha
15+
echo ${{ github.sha }} >> github-sha.txt
16+
17+
- name: Check SHA
18+
id: check_sha
19+
uses: actions/cache@v2
20+
with:
21+
path: check-sha
22+
key: check-sha-${{ github.sha }}
23+
24+
- name: Checkout the repo
25+
if: steps.check_sha.outputs.cache-hit != 'true'
26+
uses: actions/checkout@v2
27+
28+
- name: Setup Node
29+
if: steps.check_sha.outputs.cache-hit != 'true'
30+
uses: actions/setup-node@v2
31+
with:
32+
node-version: '16'
1433

15-
# Build Project
16-
- uses: actions/setup-node@master
1734
- name: Build Project
35+
if: steps.check_sha.outputs.cache-hit != 'true'
1836
run: |
1937
npm install
2038
node ./scripts/update-version.js alpha ${{github.run_number}}
2139
npm run build-ci
22-
23-
# Publish to GitHub Package Registry
24-
- uses: actions/setup-node@master
40+
41+
- uses: actions/setup-node@v2
42+
if: steps.check_sha.outputs.cache-hit != 'true'
2543
with:
26-
node-version: '12.x'
44+
node-version: '16'
2745
registry-url: https://registry.npmjs.org/
28-
- name: Publish to GitHub Package Registry (alpha)
46+
47+
- name: Publish to NPM (alpha)
48+
if: steps.check_sha.outputs.cache-hit != 'true'
2949
run: npm publish --access public --tag alpha
3050
env:
3151
NODE_AUTH_TOKEN: ${{secrets.NPMJS_AUTH_TOKEN}}
32-
52+
3353
nightly_csharp:
3454
name: C#
35-
runs-on: windows-latest
55+
runs-on: windows-2022
3656
steps:
37-
- uses: actions/checkout@v2
38-
- uses: actions/setup-node@v1
57+
- name: Create cache file
58+
run: |
59+
mkdir check-sha
60+
echo ${{ github.sha }} >> github-sha.txt
61+
62+
- name: Check SHA
63+
id: check_sha
64+
uses: actions/cache@v2
3965
with:
40-
node-version: '12.x'
41-
- uses: actions/setup-dotnet@v1
66+
path: check-sha
67+
key: check-sha-${{ github.sha }}
68+
69+
- name: Checkout the repo
70+
if: steps.check_sha.outputs.cache-hit != 'true'
71+
uses: actions/checkout@v2
72+
73+
- name: Setup Node
74+
if: steps.check_sha.outputs.cache-hit != 'true'
75+
uses: actions/setup-node@v2
4276
with:
43-
dotnet-version: '3.1.100'
44-
env:
45-
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
77+
node-version: '16'
78+
79+
- name: Setup DotNet
80+
if: steps.check_sha.outputs.cache-hit != 'true'
81+
uses: actions/setup-dotnet@v1
82+
with:
83+
dotnet-version: |
84+
6.0.x
85+
4686
- run: npm install
47-
- run: node ./scripts/update-csharp-version.js alpha ${{github.run_number}}
48-
- run: npm run build-csharp-ci
49-
- run: dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
50-
- run: dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
87+
if: steps.check_sha.outputs.cache-hit != 'true'
88+
89+
- name: Update C# Version
90+
if: steps.check_sha.outputs.cache-hit != 'true'
91+
run: node ./scripts/update-csharp-version.js alpha ${{github.run_number}}
92+
93+
- name: Build Project
94+
if: steps.check_sha.outputs.cache-hit != 'true'
95+
run: npm run build-csharp-ci
96+
97+
- name: Publish AlphaTab.nupkg
98+
if: steps.check_sha.outputs.cache-hit != 'true'
99+
run: dotnet nuget push src.csharp\AlphaTab\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
100+
101+
- name: Publish AlphaTab.Windows.nupkg
102+
if: steps.check_sha.outputs.cache-hit != 'true'
103+
run: dotnet nuget push src.csharp\AlphaTab.Windows\bin\Release\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
release_web:
99
name: Web
10-
runs-on: windows-latest
10+
runs-on: windows-2022
1111
steps:
1212
# Checkout the repo
1313
- uses: actions/checkout@v2
@@ -32,15 +32,16 @@ jobs:
3232

3333
release_csharp:
3434
name: C#
35-
runs-on: windows-latest
35+
runs-on: windows-2022
3636
steps:
3737
- uses: actions/checkout@v2
3838
- uses: actions/setup-node@v1
3939
with:
4040
node-version: '12.x'
4141
- uses: actions/setup-dotnet@v1
4242
with:
43-
dotnet-version: '3.1.100'
43+
dotnet-version: |
44+
6.0.x
4445
env:
4546
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
4647
- run: npm install

0 commit comments

Comments
 (0)