Skip to content

Commit

Permalink
Merge pull request #37 from Photoroom/actions-upgrade
Browse files Browse the repository at this point in the history
chore(ci): upgrade go & python setup actions and be explicit about pygo VM
  • Loading branch information
blefaudeux authored Nov 14, 2024
2 parents 372779a + 2fd8890 commit 9bf7ec7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
sudo apt-get -y install libvips-dev libjpeg-turbo8-dev
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.23"

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.11.10"

Expand All @@ -47,7 +47,7 @@ jobs:
- name: Build python module
run: |
cd pkg
GOAMD64=v3 gopy pkg -author="Photoroom" -email="[email protected]" -name="datago" -version="${{ steps.version.outputs.major-version }}.${{ steps.version.outputs.minor-version }}.${{ steps.version.outputs.patch-version }}" .
GOAMD64=v3 gopy pkg -author="Photoroom" -email="[email protected]" -name="datago" -vm="python3" -version="${{ steps.version.outputs.major-version }}.${{ steps.version.outputs.minor-version }}.${{ steps.version.outputs.patch-version }}" .
export DESTINATION="../build"
mkdir -p $DESTINATION/datago
mv datago/* $DESTINATION/datago/.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gopy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
sudo apt-get -y install libvips-dev libjpeg-turbo8-dev
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.23"

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.11.10"

Expand All @@ -39,7 +39,7 @@ jobs:
- name: Build python module
run: |
cd pkg
gopy pkg -author="Photoroom" -email="[email protected]" -name="datago" .
gopy pkg -author="Photoroom" -email="[email protected]" -vm="python3" -name="datago" .
export DESTINATION="../build"
mkdir -p $DESTINATION/datago
mv datago/* $DESTINATION/datago/.
Expand Down

0 comments on commit 9bf7ec7

Please sign in to comment.