diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/on_demand.yml | 4 | ||||
-rw-r--r-- | .github/workflows/pr-management.yml | 2 | ||||
-rw-r--r-- | .github/workflows/release.yml | 37 |
3 files changed, 11 insertions, 32 deletions
diff --git a/.github/workflows/on_demand.yml b/.github/workflows/on_demand.yml index 17223f9..09c3340 100644 --- a/.github/workflows/on_demand.yml +++ b/.github/workflows/on_demand.yml @@ -40,7 +40,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile @@ -80,7 +80,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile.docker diff --git a/.github/workflows/pr-management.yml b/.github/workflows/pr-management.yml index 814bb39..201c494 100644 --- a/.github/workflows/pr-management.yml +++ b/.github/workflows/pr-management.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: pre-commit-ci/lite-action@v1.0.2 + - uses: pre-commit-ci/lite-action@v1.1.0 compiling: name: Run installation process and code compilation supported Python versions diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e148e6b..6cf8d44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,38 +2,17 @@ name: "Tag & Release management" on: push: - # Sequence of patterns matched against refs/tags tags: - 'v[0-9]+.[0-9]+.[0-9]+' # Push events to matching v*, i.e. v1.0, v20.15.10 jobs: - # release: - # name: Create Github Release - # runs-on: ubuntu-latest - # steps: - # - name: Checkout code - # uses: actions/checkout@v4 - # with: - # fetch-depth: 0 - - # - name: Generate Changelog - # run: | - # sudo apt update && sudo apt install zsh - # export TAG_CURRENT=$(git describe --abbrev=0 --tags) - # export TAG_PREVIOUS=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`) - # echo "Previous tag is: ${TAG_PREVIOUS}" - # echo "Current tag is: ${TAG_CURRENT}" - # zsh .github/changelog.sh ${TAG_CURRENT} ${TAG_PREVIOUS} md > CHANGELOG.md - # cat CHANGELOG.md - - # - name: Release on Github - # uses: softprops/action-gh-release@v1 - # with: - # draft: false - # body_path: CHANGELOG.md - pypi: name: Publish version to Pypi servers runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/eos-downloader + permissions: + id-token: write steps: - name: Checkout code uses: actions/checkout@v4 @@ -47,7 +26,7 @@ jobs: run: | python -m build - - name: Publish package to TestPyPI + - name: Publish package to Pypi server uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ @@ -86,7 +65,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile @@ -127,7 +106,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile.docker |