Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux package distribution workflow #169

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 21 additions & 1 deletion .github/workflows/build-installers.yml
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
linux:
name: "Linux"

runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
Expand All @@ -34,3 +33,24 @@ jobs:
path: |
out/linux/*.deb
out/linux/*.tar.gz

linux_publish:
name: 'Publish Linux'
runs-on: windows-latest
needs: linux
steps:
- name: 'Download Installers'
uses: actions/download-artifact@v2
with:
name: Installers

- name: Install ESRP Client
shell: pwsh
env:
AZDEV_PAT: ${{ secrets.MICROSOFT_AZDEV_NUGET_PAT }}
NUGET_FEED: "https://microsoft.pkgs.visualstudio.com/_packaging/ESRP/nuget/v3/index.json"
run: |
echo Using nuget feed "$env:NUGET_FEED"
nuget.exe sources add -name esrp -source "$env:NUGET_FEED" -username FOOBAR -password "$env:AZDEV_PAT"
nuget.exe install Microsoft.EsrpClient -source "$env:NUGET_FEED" -OutputDirectory ./esrp