Skip to content

Commit

Permalink
Update setup-python and fix deprecation of set-output (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito authored Jan 16, 2023
1 parent 24f0334 commit a7e4e7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 Universität Tübingen, DKFZ and EMBL
# Copyright 2022-2023 Universität Tübingen, DKFZ and EMBL
# for the German Human Genome-Phenome Archive (GHGA)
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -40,12 +40,12 @@ runs:
CONFIG_YAML_ENV_VAR_NAME="$( echo ${PACKAGE_NAME^^} | sed "s/-/_/g" )_CONFIG_YAML"
CONFIG_YAML="${PWD}/.devcontainer/.dev_config.yaml"
# attach all other variables to the step's output:
echo "::set-output name=PACKAGE_NAME::${PACKAGE_NAME}"
echo "::set-output name=MAIN_SRC_DIR::${MAIN_SRC_DIR}"
echo "::set-output name=CONFIG_YAML_ENV_VAR_NAME::${CONFIG_YAML_ENV_VAR_NAME}"
echo "::set-output name=CONFIG_YAML::${CONFIG_YAML}"
echo "PACKAGE_NAME=${PACKAGE_NAME}" >> $GITHUB_OUTPUT
echo "MAIN_SRC_DIR=${MAIN_SRC_DIR}" >> $GITHUB_OUTPUT
echo "CONFIG_YAML_ENV_VAR_NAME=${CONFIG_YAML_ENV_VAR_NAME}" >> $GITHUB_OUTPUT
echo "CONFIG_YAML=${CONFIG_YAML}" >> $GITHUB_OUTPUT
- name: Set up Python 3.9
uses: actions/setup-python@v3.1.2
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand Down

0 comments on commit a7e4e7c

Please sign in to comment.