diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93be61f..50ddfd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,22 +31,22 @@ jobs: fetch-depth: 0 - name: 🔽 Setup dotnet 2.1 - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5 with: dotnet-version: '2.1.x' - name: 🔽 Setup dotnet 3.1 - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5 with: dotnet-version: '3.1.x' - name: 🔽 Setup dotnet 5.0.x - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5 with: dotnet-version: '5.0.x' - name: 🔽 Setup dotnet from global.json - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5 - name: 🔍 Print dotnet info run: dotnet --info diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 2212a50..b5150f0 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -64,7 +64,7 @@ jobs: uses: actions/checkout@v3 - name: 🔽 Install dotnet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5 - name: 🔍 Print dotnet info run: dotnet --info @@ -123,7 +123,7 @@ jobs: name: global-json - name: 🔽 Install dotnet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5 - name: 🔼 Publish package to nuget run: dotnet nuget push --force-english-output --api-key '${{ secrets.GITHUB_TOKEN }}' --source 'https://nuget.pkg.github.com/YoloDev/index.json' --skip-duplicate "nuget/*.nupkg" @@ -152,7 +152,7 @@ jobs: name: global-json - name: 🔽 Install dotnet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5 - name: 🔼 Publish package to nuget run: dotnet nuget push --force-english-output --api-key '${{ secrets.NUGET_API_KEY }}' --source '${{ secrets.NUGET_FEED }}' --skip-duplicate "nuget/*.nupkg"