Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
ci(syntax): fix deprecated actions syntax. Fixes #39 (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
altmas5 authored Aug 8, 2023
1 parent eef161a commit 1153dd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
id: bumper
run: |
newVersion=$(npm version patch --no-git-tag-version | sed 's/v//g')
echo '::set-output name=new_version::'"$newVersion"
echo "new_version=$newVersion" >> $GITHUB_OUTPUT
- name: Install project modules
run: npm ci --production
Expand All @@ -49,7 +49,7 @@ jobs:
id: function_state
run: |
state=$(aws lambda get-function --function-name ${{ secrets.LAMBDA_FUNCTION }} --query 'Configuration.State' --output text)
echo '::set-output name=state::'"$state"
echo "state=$state" >> $GITHUB_OUTPUT
- name: Verify function is in active state
if: steps.function_state.outputs.state != 'Active'
Expand All @@ -71,7 +71,7 @@ jobs:
run: |
set -o pipefail
function_version=$(aws lambda publish-version --function-name ${{ secrets.LAMBDA_FUNCTION }} | jq -r ".Version")
echo '::set-output name=function_version::'"$function_version"
echo "function_version=$function_version" >> $GITHUB_OUTPUT
- name: Update alias Live with new function version
run: >
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
id: function_state
run: |
state=$(aws lambda get-function --function-name ${{ secrets.LAMBDA_FUNCTION }} --query 'Configuration.State' --output text)
echo '::set-output name=state::'"$state"
echo "state=$state" >> $GITHUB_OUTPUT
- name: Verify function is in active state
if: steps.function_state.outputs.state != 'Active'
Expand All @@ -61,7 +61,7 @@ jobs:
run: |
set -o pipefail
function_version=$(aws lambda publish-version --function-name ${{ secrets.LAMBDA_FUNCTION }} | jq -r ".Version")
echo '::set-output name=function_version::'"$function_version"
echo "function_version=$function_version" >> $GITHUB_OUTPUT
- name: Update alias Dev with new function version
run: >
Expand Down

0 comments on commit 1153dd0

Please sign in to comment.