Skip to content

Commit c599fe3

Browse files
committed
fix: Test build
1 parent 2df34db commit c599fe3

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
name: Read C2PA version
3030
runs-on: ubuntu-latest
3131
outputs:
32-
version: ${{ steps.read-version.outputs.version }}
32+
c2pa-native-version: ${{ steps.read-version.outputs.version }}
3333
steps:
3434
- uses: actions/checkout@v4
3535
- name: Read version from file
3636
id: read-version
37-
run: echo "version=$(cat c2pa-version.txt | tr -d '\r\n')" >> $GITHUB_OUTPUT
37+
run: echo "version=$(cat c2pa-native-version.txt | tr -d '\r\n')" >> $GITHUB_OUTPUT
3838

3939
tests-unix:
4040
name: Unit tests for developer setup (Unix)
@@ -48,7 +48,7 @@ jobs:
4848
4949
runs-on: ${{ matrix.os }}
5050
outputs:
51-
version: ${{ needs.read-version.outputs.version }}
51+
version: ${{ needs.read-version.outputs.c2pa-native-version }}
5252

5353
strategy:
5454
fail-fast: false
@@ -83,7 +83,7 @@ jobs:
8383
run: |
8484
# Ensure the token is being used
8585
echo "Using GitHub token for authentication"
86-
python3 scripts/download_artifacts.py ${{ needs.read-version.outputs.version }}
86+
python3 scripts/download_artifacts.py ${{ needs.read-version.outputs.c2pa-native-version }}
8787
8888
- name: Install package in development mode
8989
run: |
@@ -109,7 +109,7 @@ jobs:
109109
110110
runs-on: windows-latest
111111
outputs:
112-
version: ${{ needs.read-version.outputs.version }}
112+
version: ${{ needs.read-version.outputs.c2pa-native-version }}
113113

114114
steps:
115115
- name: Checkout repository
@@ -151,7 +151,7 @@ jobs:
151151
run: |
152152
# Ensure the token is being used
153153
echo "Using GitHub token for authentication"
154-
python scripts\download_artifacts.py ${{ needs.read-version.outputs.version }}
154+
python scripts\download_artifacts.py ${{ needs.read-version.outputs.c2pa-native-version }}
155155
156156
- name: Install package in development mode
157157
run: |
@@ -255,7 +255,7 @@ jobs:
255255
architecture: ${{ matrix.target }}
256256
artifact-name: wheels-windows-${{ matrix.target }}
257257
runs-on: windows-latest
258-
c2pa-version: ${{ needs.read-version.outputs.version }}
258+
c2pa-version: ${{ needs.tests-windows.outputs.version }}
259259
secrets:
260260
github-token: ${{ secrets.GITHUB_TOKEN }}
261261
strategy:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# For Python bindings ===========================================================
22

33
# Version of C2PA to use
4-
C2PA_VERSION := $(shell c2pa-version.txt)
4+
C2PA_VERSION := $(shell c2pa-native-version.txt)
55

66
# Start from clean env: Delete `.venv`, then `python3 -m venv .venv`
77
# Pre-requisite: Python virtual environment is active (source .venv/bin/activate)

0 commit comments

Comments
 (0)