summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-09 08:18:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-09 08:18:34 +0000
commit54d15bc66fb4ff7c0920e5f22dbeaaebb826fa1b (patch)
tree2aa45c5877c0b1a74fab5f5ad64f9315b6a1d9da /.github/workflows
parentAdding upstream version 0.10.2. (diff)
downloadeos-downloader-54d15bc66fb4ff7c0920e5f22dbeaaebb826fa1b.tar.xz
eos-downloader-54d15bc66fb4ff7c0920e5f22dbeaaebb826fa1b.zip
Adding upstream version 0.10.3.upstream/0.10.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/on_demand.yml4
-rw-r--r--.github/workflows/pr-management.yml2
-rw-r--r--.github/workflows/release.yml37
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