Skip to content

Commit

Permalink
Merge pull request #270 from Saibamen/replace_set-output
Browse files Browse the repository at this point in the history
Replace deprecated `set-output` with `$GITHUB_OUTPUT`
  • Loading branch information
Saibamen authored Aug 21, 2023
2 parents ebf4223 + f158ebe commit c981131
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: NuGet/setup-nuget@v1
- name: Set release_name
id: set_release_name
run: echo "::set-output name=release_name::$(date +'%-Y.%-m.%-d').$GITHUB_RUN_NUMBER"
run: echo "release_name=$(date +'%-Y.%-m.%-d').$GITHUB_RUN_NUMBER" >> $GITHUB_OUTPUT
- name: Setup .NET Core SDK ${{ env.SDK_VERSION }}
uses: actions/setup-dotnet@v3
with:
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Create package ${{ env.PACKAGE_5 }}
run: nuget pack ${{ env.PACKAGE_5_FULL }}/${{ env.PACKAGE_5 }}.nuspec -NonInteractive -Verbosity Detailed -OutputDirectory ${{ env.OUTPUT_DIR }}
- name: Push packages
run: dotnet nuget push "${{ env.OUTPUT_DIR }}/*.nupkg" -k ${NUGET_TOKEN} #--skip-duplicate
run: dotnet nuget push "${{ env.OUTPUT_DIR }}/*.nupkg" -k ${ NUGET_TOKEN } #--skip-duplicate
env:
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}
- name: Create tag
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-NuGet-Libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: NuGet/setup-nuget@v1
- name: Set release_name
id: set_release_name
run: echo "::set-output name=release_name::$(date +'%-Y.%-m.%-d').$GITHUB_RUN_NUMBER"
run: echo "release_name=$(date +'%-Y.%-m.%-d').$GITHUB_RUN_NUMBER" >> $GITHUB_OUTPUT
- name: Setup .NET Core SDK ${{ env.SDK_VERSION }}
uses: actions/setup-dotnet@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-weblibs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: 18
- run: npm ci
working-directory: ${{ env.WEBLIBS_DIR }}
- run: npm run svelte-check
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-weblibs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
PACKAGEJSON_DIR: ${{ env.WEBLIBS_DIR }}
with:
tag-prefix: WebLibs_
commit-message: 'CI: WebLibs version bump to {{version}}'
commit-message: 'CI: WebLibs version bump to {{ version }}'
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: npm ci
working-directory: ${{ env.WEBLIBS_DIR }}
Expand Down

0 comments on commit c981131

Please sign in to comment.