Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.15 #17

Merged
merged 2 commits into from
Mar 13, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Unify workflow
  • Loading branch information
cytopia committed Mar 13, 2022
commit 3b8976e44b454364b6fb013d23f37291cfdf571d
1 change: 0 additions & 1 deletion .github/workflows/action_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
with:
enabled: true
can_deploy: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/release-') }}
name: ${{ needs.params.outputs.name }}
matrix: ${{ needs.params.outputs.matrix }}
refs: ${{ needs.params.outputs.refs }}
secrets:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/action_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
with:
enabled: true
can_deploy: false
name: ${{ needs.params.outputs.name }}
matrix: ${{ needs.params.outputs.matrix }}
refs: ${{ needs.params.outputs.refs }}
secrets:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/action_schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
with:
enabled: true
can_deploy: true
name: ${{ needs.params.outputs.name }}
matrix: ${{ needs.params.outputs.matrix }}
refs: ${{ needs.params.outputs.refs }}
secrets:
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/params.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ name: params
# Custom Variables
# -------------------------------------------------------------------------------------------------
env:
NAME: MySQL
MATRIX: >-
[
{
Expand All @@ -30,7 +29,7 @@ env:
},
{
"NAME": "mariadb",
"VERSION": ["10.1", "10.2", "10.3", "10.4", "10.5", "10.6"],
"VERSION": ["10.1", "10.2", "10.3", "10.4", "10.5", "10.6", "10.7", "10.8"],
"ARCH": ["linux/amd64", "linux/arm64"]
},
{
Expand All @@ -47,9 +46,6 @@ env:
on:
workflow_call:
outputs:
name:
description: "The project name"
value: ${{ jobs.params.outputs.name }}
matrix:
description: "The determined version matrix"
value: ${{ jobs.params.outputs.matrix }}
Expand All @@ -62,16 +58,10 @@ jobs:
runs-on: ubuntu-latest

outputs:
name: ${{ steps.set-name.outputs.name }}
matrix: ${{ steps.set-matrix.outputs.matrix }}
refs: ${{ steps.set-refs.outputs.matrix }}

steps:
- name: "Set Name"
id: set-name
run: |
echo '::set-output name=name::${{ env.NAME }}'

- name: "[Set-Output] Matrix"
id: set-matrix
run: |
Expand All @@ -88,11 +78,6 @@ jobs:

- name: "[DEBUG] Show settings'"
run: |
echo 'Name'
echo '--------------------'
echo '${{ steps.set-name.outputs.name }}'
echo

echo 'Matrix'
echo '--------------------'
echo '${{ steps.set-matrix.outputs.matrix }}'
Expand Down