Skip to content

Commit

Permalink
fix: remove set-env usage in gh-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter De Rijck authored and CumpsD committed Nov 19, 2020
1 parent 719d8da commit b3eae91
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}

- name: Parse repository name
run: echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")
run: echo REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//") >> $GITHUB_ENV
shell: bash

- name: Setup Node.js
uses: actions/setup-node@v1.4.1
uses: actions/setup-node@v2.1.2

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ secrets.VBR_DOTNET_VERSION }}

- name: Set up Python
uses: actions/setup-python@v1.2.0
uses: actions/setup-python@v2.1.4
with:
python-version: '3.x'

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Set Release Version
run: |
[ ! -f semver ] && echo none > semver
echo ::set-env name=RELEASE_VERSION::$(cat semver)
echo RELEASE_VERSION=$(cat semver) >> $GITHUB_ENV
shell: bash

- name: Publish to NuGet
Expand Down

0 comments on commit b3eae91

Please sign in to comment.