diff --git a/.github/workflows/draft.yml b/.github/workflows/draft.yml index 74ae1bb..9623906 100644 --- a/.github/workflows/draft.yml +++ b/.github/workflows/draft.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5 with: - python-version: 3.x + python-version: '3.10' cache: pip - name: Clone diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4b22001..8f4ac53 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5 with: - python-version: 3.x + python-version: '3.10' cache: pip - name: Ensure changes build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d8a946..578421c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,20 +17,20 @@ jobs: - name: Set up Python uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5 with: - python-version: 3.x + python-version: '3.10' cache: 'pip' - name: Get previous version id: prevver run: | prev_version=`git tag | sort -V -r | head -n 1 | cut -c 2-` - echo "::set-output name=prev_version::$(echo -n $prev_version)" + echo "prev_version=$prev_version" >> $GITHUB_OUTPUT - name: Get version id: getver run: | spec_version=`grep -oP 'VERSION \K(\d+\.\d+\.\d+)' tuf-spec.md` - echo "::set-output name=spec_version::$(echo -n $spec_version)" + echo "spec_version=$spec_version" >> $GITHUB_OUTPUT - name: Make release if: steps.getver.outputs.spec_version != steps.prevver.outputs.prev_version