Skip to content

Commit b93ebe8

Browse files
authored
[ISV-3553] replace deprecated set-output and update dependencies (#442)
Co-authored-by: Tomas Man <[email protected]>
1 parent a40f34c commit b93ebe8

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.github/workflows/build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2323

2424
- name: Build Image
2525
id: build-image

.github/workflows/build-multi-arch-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-20.04
2828
steps:
2929
- name: add checkout action...
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131

3232
- name: Install qemu dependency
3333
run: |

.github/workflows/build-signing-bundle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
bundle_image: ${{ steps.push-bundle.outputs.pullspec }}
2020

2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2323

2424
- name: Install tekton CLI
2525
id: install-deps

.github/workflows/deploy.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- id: prepare
2121
run: |
22-
echo "::set-output name=short_sha::${GITHUB_SHA::7}"
22+
echo "short_sha=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
2323
2424
deploy-dev:
2525
runs-on: ubuntu-latest
@@ -31,7 +31,7 @@ jobs:
3131
env:
3232
SHORT_SHA: ${{needs.prepare-env.outputs.short_sha}}
3333
steps:
34-
- uses: actions/checkout@v1
34+
- uses: actions/checkout@v3
3535
- name: Install dependencies
3636
run: |
3737
pip install --user openshift
@@ -58,7 +58,7 @@ jobs:
5858
env:
5959
SHORT_SHA: ${{needs.prepare-env.outputs.short_sha}}
6060
steps:
61-
- uses: actions/checkout@v1
61+
- uses: actions/checkout@v3
6262
- name: Install dependencies
6363
run: |
6464
pip install --user openshift
@@ -86,7 +86,7 @@ jobs:
8686
- deploy-qa
8787
- deploy-dev
8888
steps:
89-
- uses: actions/checkout@v1
89+
- uses: actions/checkout@v3
9090
- name: Install dependencies
9191
run: |
9292
pip install --user openshift
@@ -113,7 +113,7 @@ jobs:
113113
- prepare-env
114114
- deploy-stage
115115
steps:
116-
- uses: actions/checkout@v1
116+
- uses: actions/checkout@v3
117117
- name: Install dependencies
118118
run: |
119119
pip install --user openshift
@@ -136,21 +136,21 @@ jobs:
136136
needs:
137137
- deploy-prod
138138
steps:
139-
- uses: actions/checkout@v2
139+
- uses: actions/checkout@v3
140140

141141
- name: Bump version and push tag
142142
id: tag_version
143-
uses: mathieudutour/github-tag-action@v5.6
143+
uses: mathieudutour/github-tag-action@v6.1
144144
with:
145145
github_token: ${{ secrets.GITHUB_TOKEN }}
146146

147147
- name: Create a GitHub release
148-
uses: actions/create-release@v1
148+
uses: ncipollo/release-action@v1
149149
env:
150150
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
151151
with:
152-
tag_name: ${{ steps.tag_version.outputs.new_tag }}
153-
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
152+
tag: ${{ steps.tag_version.outputs.new_tag }}
153+
name: Release ${{ steps.tag_version.outputs.new_tag }}
154154
body: ${{ steps.tag_version.outputs.changelog }}
155155

156156
- name: Log in to Quay.io

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
run-integration-tests:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919

2020
- name: Prepare
2121
id: prepare
2222
run: |
23-
echo "::set-output name=suffix::${GITHUB_SHA::7}"
23+
echo "suffix=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
2424
2525
- name: Install dependencies
2626
run: |

.github/workflows/validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Run unit tests and linters
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- uses: fedora-python/[email protected]
1818
with:
1919
tox_env: black,test,yamllint

0 commit comments

Comments
 (0)