Skip to content

Commit

Permalink
docs: use new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
0-vortex committed Mar 12, 2022
1 parent f2f5e7c commit 323fbe0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -11,6 +11,8 @@ jobs:
setup:
name: Set environment variables
runs-on: ubuntu-latest
outputs:
DEPLOY_ENVIRONMENT: ${{ steps.env.outputs.DEPLOY_ENVIRONMENT }}
steps:
- name: "☁️ genereate environment variables"
id: env
Expand Down Expand Up @@ -107,10 +109,11 @@ jobs:

release:
environment:
name: ${{ jobs.setup.steps.env.DEPLOY_ENVIRONMENT }}
name: ${{ needs.setup.outputs.DEPLOY_ENVIRONMENT }}
url: https://github.com/${{ github.repository }}/releases/tag/${{ steps.semantic-release.outputs.release-tag }}
name: Semantic release
needs:
- setup
- test
- docker
- build
Expand All @@ -124,7 +127,7 @@ jobs:
- name: "♻️ clean up artifact paths"
run: |
rm -rf public/diagram.svg
echo ${{ jobs.setup.steps.env.DEPLOY_ENVIRONMENT }}
echo ${{ needs.setup.outputs.DEPLOY_ENVIRONMENT }}
- name: "📂 download docker artifacts"
uses: actions/download-artifact@v2
Expand Down

0 comments on commit 323fbe0

Please sign in to comment.