Skip to content

Commit

Permalink
Update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Oct 3, 2024
1 parent 7a5a980 commit 67ece13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ jobs:
outputs:
hash: ${{ steps.hash.outputs.hash }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: '3.12'
cache: pip
cache-dependency-path: requirements*/*.txt
- run: pip install setuptools wheel build
# Use the commit date instead of the current date during the build.
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
- run: python -m build
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
- uses: actions/upload-artifact@v4
with:
path: ./dist
create-release:
Expand All @@ -30,7 +30,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v4
- name: create release
run: >
gh release create --draft --repo ${{ github.repository }}
Expand All @@ -46,7 +46,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4.1.7
- uses: actions/download-artifact@v4
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: artifact/

0 comments on commit 67ece13

Please sign in to comment.