From f908b1a7b25ce7ee57f02739470aab849f0325a1 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Thu, 21 Jan 2021 23:23:03 +0000 Subject: [PATCH] trying the linux publish and different windows setup --- .github/workflows/release.yml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 649a2874c5..3e8573dc54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,10 +95,17 @@ jobs: - name: Run linter run: npm run lint + - name: Build & Publish + run: npm run publish:lin + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + - name: Build application + if: false run: npm run dist:lin - name: Upload .deb release asset + if: false uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -109,6 +116,7 @@ jobs: asset_content_type: application/x-debian-package - name: Upload .rpm release asset + if: false uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -119,6 +127,7 @@ jobs: asset_content_type: application - name: Upload .freebsd release asset + if: false uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -129,6 +138,7 @@ jobs: asset_content_type: application - name: Upload .snap checksum release asset + if: false uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -139,6 +149,7 @@ jobs: asset_content_type: application - name: Upload .AppImage checksum release asset + if: false uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -193,13 +204,19 @@ jobs: dotnet pack --output ./nupkg dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool + - name: Set up environment + if: false + shell: pwsh + run: | + choco install checksum --no-progress + choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ + env: + CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }} + - name: Set up environment shell: pwsh run: | choco install checksum --no-progress - # choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/ - #env: - # CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }} - name: Print environment run: | @@ -252,6 +269,7 @@ jobs: macos: + if: false runs-on: macos-latest needs: setup steps: