mirror of
https://github.com/bellingcat/vk-url-scraper.git
synced 2026-06-13 05:48:37 +03:00
Merge pull request #65 from bellingcat/migrate-gh-artifacts-to-v4
migrate gh artifact actions to v4
This commit is contained in:
2
.github/actions/setup-venv/action.yml
vendored
2
.github/actions/setup-venv/action.yml
vendored
@@ -31,7 +31,7 @@ runs:
|
|||||||
# Get the exact Python version to use in the cache key.
|
# Get the exact Python version to use in the cache key.
|
||||||
echo "PYTHON_VERSION=$(python --version)" >> $GITHUB_ENV
|
echo "PYTHON_VERSION=$(python --version)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v4
|
||||||
id: virtualenv-cache
|
id: virtualenv-cache
|
||||||
with:
|
with:
|
||||||
path: .venv
|
path: .venv
|
||||||
|
|||||||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -82,7 +82,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload package distribution files
|
- name: Upload package distribution files
|
||||||
if: matrix.task.name == 'Build'
|
if: matrix.task.name == 'Build'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: package
|
name: package
|
||||||
path: dist
|
path: dist
|
||||||
@@ -117,7 +117,7 @@ jobs:
|
|||||||
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Download package distribution files
|
- name: Download package distribution files
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: package
|
name: package
|
||||||
path: dist
|
path: dist
|
||||||
|
|||||||
Reference in New Issue
Block a user