-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Talwinder Singh <[email protected]> Signed-off-by: Talwinder Singh <[email protected]>
- Loading branch information
1 parent
940f7b8
commit 8df056a
Showing
6 changed files
with
64 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,6 +64,12 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Setup Git | ||
uses: frequenz-floss/[email protected] | ||
# with: | ||
# username: ${{ secrets.GIT_USER }} | ||
# password: ${{ secrets.GIT_PASS }} | ||
|
||
- name: Print environment (debug) | ||
run: env | ||
|
||
|
@@ -152,6 +158,12 @@ jobs: | |
needs: ["build"] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Setup Git | ||
uses: frequenz-floss/[email protected] | ||
# with: | ||
# username: ${{ secrets.GIT_USER }} | ||
# password: ${{ secrets.GIT_PASS }} | ||
|
||
- name: Fetch sources | ||
uses: actions/checkout@v4 | ||
- name: Download package | ||
|
@@ -177,6 +189,12 @@ jobs: | |
if: github.event_name != 'push' | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Setup Git | ||
uses: frequenz-floss/[email protected] | ||
# with: | ||
# username: ${{ secrets.GIT_USER }} | ||
# password: ${{ secrets.GIT_PASS }} | ||
|
||
- name: Fetch sources | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -340,11 +358,32 @@ jobs: | |
# https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/ | ||
id-token: write | ||
steps: | ||
- name: Download distribution files | ||
uses: actions/download-artifact@v3 | ||
- name: Setup Git | ||
uses: frequenz-floss/[email protected] | ||
# with: | ||
# username: ${{ secrets.GIT_USER }} | ||
# password: ${{ secrets.GIT_PASS }} | ||
|
||
- name: Fetch sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download package | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: dist-packages | ||
path: dist | ||
|
||
- name: Publish the Python distribution to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
- name: Make Git credentials available to docker | ||
run: | | ||
touch ~/.git-credentials # Ensure the file exists | ||
cp ~/.git-credentials git-credentials || true | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up docker-buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Test Installation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters