diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9459c7e..609f160 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,10 @@ jobs: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} - run: poetry --version + - name: Prepare variables + id: vars + run: | + echo "version=$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g')" >> $GITHUB_OUTPUT - name: Install dependencies run: make install - name: Run check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6bf8676..942443a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,18 +15,18 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.9 - - name: Prepare variables - id: vars - run: | - echo ::set-output name=version::$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g') - uses: Gr1N/setup-poetry@v8 with: - poetry-version: "1.4.0" + poetry-version: 1.4.0 - uses: actions/cache@v2 with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} - run: poetry --version + - name: Prepare variables + id: vars + run: | + echo "version=$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g')" >> $GITHUB_OUTPUT - name: Install dependencies run: make install - name: Run check diff --git a/pyproject.toml b/pyproject.toml index b8b90c9..8e248f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pull-request-codecommit" -version = "0.5.0" +version = "0.5.1" description = "pull-request-codecommit creates a PR within CodeCommit based on your commit messages." authors = ["Joris Conijn "] license = "MIT"