Skip to content

Commit

Permalink
Adding GitHub Action to obtain WSA Builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MustardChef committed May 6, 2023
1 parent 021f9e3 commit 1d732b3
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: "🐛 Bug report"
description: Report errors or unexpected behavior
labels: ["triage-needed", "bug"]
body:
- type: textarea
attributes:
label: Steps to reproduce
description: Please include logs and we highly suggest including screenshots if possible.
placeholder: Tell us the steps required to trigger your bug.
validations:
required: true

- type: textarea
attributes:
label: ✔️ Expected Behavior
placeholder: What were you expecting?
validations:
required: false

- type: textarea
attributes:
label: ❌ Actual Behavior
placeholder: What happened instead?
validations:
required: true

- type: textarea
attributes:
label: Other Software
description: If you're reporting a bug about our interaction with other software, what software? What versions?
placeholder: |
vim 8.2 (inside WSL)
OpenSSH_for_Windows_8.1p1
My Cool Application v0.3 (include a code snippet if it would help!)
validations:
required: false

- type: input
attributes:
label: Please specify the version of Windows Subsystem for Android
description: You can find your version number in the Windows Subsystem for Android Settings app, under the About section
placeholder: such as 2207.40000.8.0
validations:
required: true

6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
blank_issues_enabled: false
contact_links:
- name: "Windows Feedback Hub for end-user feedback"
url: https://aka.ms/
about: If you have issues and feedback on the subsystem for non-developer topics, please use Windows Feedback Hub

10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "📚 Documentation Issue"
description: Report issues in our documentation
labels: ["triage-needed", "documentation"]
body:
- type: textarea
attributes:
label: Provide a description of requested docs changes
placeholder: Briefly describe which document needs to be corrected and why.
validations:
required: true
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "⚙️ Feature request"
description: Submit a feature request
labels: ["triage-needed", "feature-request"]

body:
- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe
description: A clear and concise description of what the problem is.

- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.

- type: input
attributes:
label: Please specify the version of Windows Subsystem for Android
description: You can find your version number in the Windows Subsystem for Android Settings app, under the About section
placeholder: such as 2207.40000.8.0
validations:
required: true

31 changes: 31 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Upload WSA
on:
workflow_dispatch:
inputs:
upl:
description: 'URL WSA'
required: true
type: string
tag:
description: 'Tag'
required: true
type: string

permissions:
contents: write

jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Download
run: |
sudo apt-get update; sudo apt-get install -y aria2
aria2c -d dloa '${{ inputs.upl }}'
echo "SHA-256=$(sha256sum dloa/*.Msixbundle)"
echo "SHA-1=$(sha1sum dloa/*.Msixbundle)"
- name: Upload Release
uses: softprops/action-gh-release@v1
with:
files: dloa/*.Msixbundle
tag_name: ${{ inputs.tag }}

0 comments on commit 1d732b3

Please sign in to comment.