Skip to content

Commit

Permalink
Add temporary build workflow for AOSM extension (#4)
Browse files Browse the repository at this point in the history
* Add temporary build workflow for AOSM extension

* Add Releaser to maintain a release with the latest build in a consistent place
  • Loading branch information
PerfectChaos authored May 16, 2023
1 parent 057ef05 commit 715c925
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/BuildAOSMWheel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- add-aosm-extension

jobs:
build_aosm:
runs-on: ubuntu-latest
container: mcr.microsoft.com/azure-cli/tools:latest
permissions: write-all
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Build AOSM Wheel
run: |
# Pretend we have a valid git repo to satisfy azdev.
mkdir .git
azdev setup -r .
azdev extension build aosm
- name: Upload AOSM Wheel
uses: actions/upload-artifact@v3
with:
name: aosm-extension
path: dist/*.whl
- name: Update Release
uses: pyTooling/Actions/releaser@r0
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
dist/*.whl
tag: aosm-extension

0 comments on commit 715c925

Please sign in to comment.