s1seven / schema-tools

Tools to create, validate and render certificates using Material Identity JSON schemas
https://materialidentity.org/
Apache License 2.0
1 stars 1 forks source link

ci: replace set-output in github workflow #179

Closed eamon0989 closed 1 year ago

eamon0989 commented 1 year ago

Description

set-output is being deprecated in GitHub actions, this PR replaces set-output with the recommendation from here. I tested the output using the following command to verify the result was the same:

      - name: Print prior output
        run: echo "${{ steps.extract-branch.outputs.branch }}"

And it printed "refs/pull/179/merge".

I also updated nrwl/nx-set-shas@v2 to v3 as v2 still used set-output and as a result, we received the warnings after the workflow ran. Warnings shown in the following screenshot:

image

Type of change

Checklist:

nx-cloud[bot] commented 1 year ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6dda93cd19e91638ecb8eefd95dbdc8ef514cb58. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 4 targets - [`nx affected --target=test:cov`](https://cloud.nx.app/runs/xfaDFrqFr2) - [`nx affected --target=test:browser`](https://cloud.nx.app/runs/gxbi7vYZGO) - [`nx affected --target=build`](https://cloud.nx.app/runs/T5A18celpH) - [`nx run-many --target=lint --all`](https://cloud.nx.app/runs/lJBSMRKDUk)

Sent with 💌 from NxCloud.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information