Skip to content

Commit 09036ab

Browse files
authored
#1015 ci delete deprecated set output (#1273)
* The changes made in this commit include: - Updated the version of the `actions/checkout` action from `v2` to `v3` in the `.github/workflows/ci.yaml` file. - Modified the checkout step for multiple repositories to use the `actions/checkout@v3` action. - Updated the checkout step for the `src/client/packaging/npm` directory to use the `actions/checkout@v3` action. - Updated the checkout step for the code in the `jobs.build` section to use the `actions/checkout@v3` action. - Added a step to set the output variables `tag` and `repo` in the `jobs.build` section. These changes update the workflow to use the latest version of the `actions/checkout` action and ensure that the code is checked out correctly for each repository. * The changes made in this commit include: - Updated the version of the `actions/checkout` action from `v2` to `v3` in the `.github/workflows/create-release.yml`, `.github/workflows/missing_signals.yaml`, `.github/workflows/release-helper.yml`, and `.github/workflows/update_gdocs_data.yml` files. - Updated the version of the `actions/setup-python` action from `v2` to `v4` in the `.github/workflows/create-release.yml`, `.github/workflows/missing_signals.yaml`, `.github/workflows/release-helper.yml`, and `.github/workflows/update_gdocs_data.yml` files. - Removed the line `echo -n "::set-output name=next_tag::"` and replaced it with `echo -n $next_tag >> $GITHUB_OUTPUT` in the `.github/workflows/create-release.yml` file. - Removed the line `echo -n "::set-output name=version::"` and replaced it with `echo -n $version >> $GITHUB_OUTPUT` in the `.github/workflows/release-helper.yml` file. * The changes made in this commit include: - Added `.github/workflows/create-release.yml` - Modified `.github/workflows/create-release.yml` to update the `echo -n $next_tag` line to `echo -n "next_tag={next_tag}" >> $GITHUB_OUTPUT` - Modified `.github/workflows/release-helper.yml` to update the `echo -n $version` line to `echo -n "version={version}" >> $GITHUB_OUTPUT`
1 parent 5b3e9bf commit 09036ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/create-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
id: version
3030
run: |
3131
python -m pip install bump2version
32-
echo -n $next_tag >> $GITHUB_OUTPUT
32+
echo -n "next_tag={next_tag}" >> $GITHUB_OUTPUT
3333
bump2version --list ${{ github.event.inputs.versionName }} | grep new_version | sed -r s,"^.*=",,
3434
- name: Create pull request into prod
3535
uses: peter-evans/create-pull-request@v3

.github/workflows/release-helper.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
id: extract_version
3030
run: |
3131
python -m pip install bump2version
32-
echo -n $version >> $GITHUB_OUTPUT
32+
echo -n "version={version}" >> $GITHUB_OUTPUT
3333
bump2version --dry-run --list patch | grep ^current_version | sed -r s,"^.*=",,
3434
- name: Create Release
3535
id: create_release

0 commit comments

Comments
 (0)