Skip to content

Bump actions/checkout from 4.1.7 to 4.2.0 #419

Bump actions/checkout from 4.1.7 to 4.2.0

Bump actions/checkout from 4.1.7 to 4.2.0 #419

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Package
on:
push:
branches:
- master
permissions:
attestations: write
contents: read
id-token: write
packages: write
defaults:
run:
shell: bash
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
package:
if: github.repository == 'vezel-dev/novadrop'
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4.2.0
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/setup-dotnet@v4.0.1
- name: Set up Node.js
uses: actions/setup-node@v4.0.4
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake upload-core-github
- name: Attest packages
uses: actions/attest-build-provenance@v1.4.3
with:
subject-path: out/pkg/debug/*.nupkg
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v4.4.0
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/log
out/pkg
out/pub