Skip to content

actions/upload-artifact@v4 is required #103

actions/upload-artifact@v4 is required

actions/upload-artifact@v4 is required #103

Workflow file for this run

name: CI
on:
push:
branches: [ '*' ]
pull_request:
jobs:
CI:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Needed in order for tags to be available so prereleases autoincrement the version
- name: Build
run: ./build.ps1
- name: Publish to MyGet
if: github.ref == 'refs/heads/main'
run: dotnet nuget push artifacts\Packages\Techsola.InstantReplay.*.nupkg --source https://www.myget.org/F/techsola/api/v3/index.json --api-key ${{ secrets.MYGET_API_KEY }}
- name: Upload packages artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: Packages
path: artifacts/Packages
- name: Upload logs artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: Logs
path: artifacts/Logs