From e2d116e10a9a048e6638fe21140fe04af143ee66 Mon Sep 17 00:00:00 2001 From: Deniz Saner Date: Mon, 30 Sep 2024 15:25:05 +0200 Subject: [PATCH] attach custom connector as release asset --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..59137e2 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: Attach Custom Connector as release asset + +on: + release: + types: [published] + +jobs: + build-and-attach: + runs-on: windows-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up MSBuild + uses: microsoft/setup-msbuild@v1 + + - name: Build .mez file + run: | + msbuild enlyze.pq.proj /p:Configuration=Release + + - name: Upload `.mez` as release asset + uses: softprops/action-gh-release@v1 + with: + files: bin/AnyCpu/Release/enlyze-powerbi.mez + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}