Skip to content

Commit

Permalink
Merge pull request #21 from Giangblackk/update-workflows
Browse files Browse the repository at this point in the history
update workflows to fix deprecations
  • Loading branch information
Giangblackk authored Aug 21, 2023
2 parents 1667274 + 1521433 commit 3fe4f49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Check if there is a parent commit
id: check-parent-commit
run: |
echo "::set-output name=sha::$(git rev-parse --verify --quiet HEAD^)"
echo "{sha}={$(git rev-parse --verify --quiet HEAD^)}" >> $GITHUB_OUTPUT
- name: Detect and tag new version
id: check-version
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/

- name: Publish the release notes
uses: release-drafter/release-drafter@v5.24.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
digest = hashlib.sha256(payload).hexdigest()
result = "${{ runner.os }}-{}-{}-pre-commit".format(python, digest[:8])
print("::set-output name=result::{}".format(result))
print("name={}".format(result))
- name: Restore pre-commit cache
uses: actions/cache@v3
Expand Down

0 comments on commit 3fe4f49

Please sign in to comment.