Bump actions/upload-artifact from 2.2.3 to 4.4.0 #432
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
- "release/**" | |
- "hotfix/**" | |
- "feature/**" | |
tags: | |
- "*" | |
paths-ignore: | |
- "README.md" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2022, ubuntu-22.04, macos-12] | |
env: | |
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }} | |
AZURE_SOURCE: ${{ secrets.AZURE_SOURCE }} | |
AZURE_USER: ${{ secrets.AZURE_USER }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
GITTER_ROOM_ID: ${{ secrets.GITTER_ROOM_ID }} | |
GITTER_TOKEN: ${{ secrets.GITTER_TOKEN }} | |
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
NUGET_SOURCE: "https://api.nuget.org/v3/index.json" | |
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} | |
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} | |
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }} | |
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }} | |
WYAM_ACCESS_TOKEN: ${{ secrets.WYAM_ACCESS_TOKEN }} | |
WYAM_DEPLOY_BRANCH: "gh-pages" | |
WYAM_DEPLOY_REMOTE: ${{ github.event.repository.html_url }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Fetch all tags and branches | |
run: git fetch --prune --unshallow | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
2.1.x | |
3.1.x | |
5.0.x | |
6.0.x | |
7.0.x | |
- name: Install Transifex Client | |
if: ${{ matrix.os == 'ubuntu-22.04' }} # We do not need it for anything else | |
run: sudo apt-get install transifex-client -y | |
- name: Cache Tools | |
uses: actions/[email protected] | |
with: | |
path: tools | |
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | |
- name: Remove local nuget | |
if: ${{ runner.os == 'Linux' }} | |
run: sudo rm /usr/bin/nuget | |
- name: Build Addin | |
uses: cake-build/cake-action@v1 | |
with: | |
script-path: recipe.cake | |
target: CI | |
verbosity: Diagnostic | |
cake-version: tool-manifest | |
- name: Upload artifacts | |
uses: actions/[email protected] | |
with: | |
name: ${{ matrix.os }}-artifacts | |
path: | | |
BuildArtifacts/report.html | |
BuildArtifacts/packages/**/*.nupkg | |
BuildArtifacts/**/coverlet/*.xml |