Skip to content

Commit b69d901

Browse files
authored
Fix/PD-12-update-script-version (#11)
* fix(PD-12): update script version * ci(PD-12): add the environment name * ci(PD-12): remove name property
1 parent ce8ebbf commit b69d901

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
unit-tests:
1212
runs-on: ubuntu-latest
13-
13+
environment: ${{ github.ref == 'refs/heads/main' && 'develop' || '' }}
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v3

action.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ inputs:
99
script-version:
1010
description: 'Script version'
1111
required: false
12-
default: '0.3.1'
12+
default: '0.5.1'
1313

1414
outputs:
1515
matrix:
@@ -22,8 +22,6 @@ outputs:
2222

2323
runs:
2424
using: "composite"
25-
env:
26-
SCRIPT_VERSION: "0.4.0"
2725
steps:
2826
- name: Cancel Previous Runs
2927
if: ${{ github.ref != 'refs/heads/develop' && github.ref != 'refs/heads/main' }}

0 commit comments

Comments
 (0)