Maintenance: GitHub actions set-env directive is deprecated and causes docker builds to fail.

This commit is contained in:
Thorsten Eckel 2020-11-17 15:38:58 +01:00
parent c46b689405
commit 0e6cab4329
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
steps: steps:
- name: Extract REPO_USER from GITHUB_REPOSITORY ENV - name: Extract REPO_USER from GITHUB_REPOSITORY ENV
run: echo "::set-env name=REPO_USER::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')" run: echo "REPO_USER=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')" >> $GITHUB_ENV
- name: Checkout code - name: Checkout code
uses: actions/checkout@master uses: actions/checkout@master
- name: Fetch all history for all tags and branches - name: Fetch all history for all tags and branches

View file

@ -15,7 +15,7 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
steps: steps:
- name: Extract REPO_USER from GITHUB_REPOSITORY ENV - name: Extract REPO_USER from GITHUB_REPOSITORY ENV
run: echo "::set-env name=REPO_USER::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')" run: echo "REPO_USER=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')" >> $GITHUB_ENV
- name: Checkout code - name: Checkout code
uses: actions/checkout@master uses: actions/checkout@master
- name: Fetch all history for all tags and branches - name: Fetch all history for all tags and branches