Skip to content

Commit 3b8976e

Browse files
committed
Unify workflow
1 parent 2d8d4fa commit 3b8976e

4 files changed

Lines changed: 1 addition & 19 deletions

File tree

.github/workflows/action_branch.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
with:
2727
enabled: true
2828
can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
29-
name: ${{ needs.params.outputs.name }}
3029
matrix: ${{ needs.params.outputs.matrix }}
3130
refs: ${{ needs.params.outputs.refs }}
3231
secrets:

.github/workflows/action_pull_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
with:
2929
enabled: true
3030
can_deploy: false
31-
name: ${{ needs.params.outputs.name }}
3231
matrix: ${{ needs.params.outputs.matrix }}
3332
refs: ${{ needs.params.outputs.refs }}
3433
secrets:

.github/workflows/action_schedule.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
with:
2929
enabled: true
3030
can_deploy: true
31-
name: ${{ needs.params.outputs.name }}
3231
matrix: ${{ needs.params.outputs.matrix }}
3332
refs: ${{ needs.params.outputs.refs }}
3433
secrets:

.github/workflows/params.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ name: params
1010
# Custom Variables
1111
# -------------------------------------------------------------------------------------------------
1212
env:
13-
NAME: MySQL
1413
MATRIX: >-
1514
[
1615
{
@@ -30,7 +29,7 @@ env:
3029
},
3130
{
3231
"NAME": "mariadb",
33-
"VERSION": ["10.1", "10.2", "10.3", "10.4", "10.5", "10.6"],
32+
"VERSION": ["10.1", "10.2", "10.3", "10.4", "10.5", "10.6", "10.7", "10.8"],
3433
"ARCH": ["linux/amd64", "linux/arm64"]
3534
},
3635
{
@@ -47,9 +46,6 @@ env:
4746
on:
4847
workflow_call:
4948
outputs:
50-
name:
51-
description: "The project name"
52-
value: ${{ jobs.params.outputs.name }}
5349
matrix:
5450
description: "The determined version matrix"
5551
value: ${{ jobs.params.outputs.matrix }}
@@ -62,16 +58,10 @@ jobs:
6258
runs-on: ubuntu-latest
6359

6460
outputs:
65-
name: ${{ steps.set-name.outputs.name }}
6661
matrix: ${{ steps.set-matrix.outputs.matrix }}
6762
refs: ${{ steps.set-refs.outputs.matrix }}
6863

6964
steps:
70-
- name: "Set Name"
71-
id: set-name
72-
run: |
73-
echo '::set-output name=name::${{ env.NAME }}'
74-
7565
- name: "[Set-Output] Matrix"
7666
id: set-matrix
7767
run: |
@@ -88,11 +78,6 @@ jobs:
8878

8979
- name: "[DEBUG] Show settings'"
9080
run: |
91-
echo 'Name'
92-
echo '--------------------'
93-
echo '${{ steps.set-name.outputs.name }}'
94-
echo
95-
9681
echo 'Matrix'
9782
echo '--------------------'
9883
echo '${{ steps.set-matrix.outputs.matrix }}'

0 commit comments

Comments
 (0)