File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ jobs:
22
22
id : non-anonymous
23
23
run : |
24
24
output=$(curl -X POST -i http://0.0.0.0:12345/com.snowplowanalytics.snowplow/tp2 -d '{}' 2>&1 | grep -q 'Set-Cookie')
25
- echo "::set-output name= exit_code:: $?"
25
+ echo "exit_code= $?" >> $GITHUB_OUTPUT
26
26
- name : Test anonymous tracking
27
27
id : anonymous
28
28
if : ${{ steps.non-anonymous.outputs.exit_code == 0 }}
29
29
run : |
30
30
set +e
31
31
output=$(curl -X POST -i http://0.0.0.0:12345/com.snowplowanalytics.snowplow/tp2 -H 'SP-Anonymous: *' -d '{}' 2>&1 | grep -q 'Set-Cookie')
32
- echo "::set-output name= exit_code:: $?"
32
+ echo "exit_code= $?" >> $GITHUB_OUTPUT
33
33
- name : Report outcome
34
34
if : ${{ steps.non-anonymous.outputs.exit_code == 0 && steps.anonymous.outputs.exit_code == 1 }}
35
35
run : echo "All tests successful!"
Original file line number Diff line number Diff line change 28
28
id : ver
29
29
run : |
30
30
export PROJECT_VERSION=$(sbt "project core" version -Dsbt.log.noformat=true | perl -ne 'print "$1\n" if /info.*(\d+\.\d+\.\d+[^\r\n]*)/' | tail -n 1 | tr -d '\n')
31
- echo "::set-output name= project_version:: $PROJECT_VERSION"
31
+ echo "project_version= $PROJECT_VERSION" >> $GITHUB_OUTPUT
32
32
- name : Create GitHub release and attach artifacts
33
33
uses : softprops/action-gh-release@v1
34
34
with :
80
80
id : ver
81
81
run : |
82
82
export PROJECT_VERSION=$(sbt "project core" version -Dsbt.log.noformat=true | perl -ne 'print "$1\n" if /info.*(\d+\.\d+\.\d+[^\r\n]*)/' | tail -n 1 | tr -d '\n')
83
- echo "::set-output name= project_version:: $PROJECT_VERSION"
83
+ echo "project_version= $PROJECT_VERSION" >> $GITHUB_OUTPUT
84
84
85
85
- name : Stage the Docker build
86
86
run : sbt "project ${{ matrix.platform }}" docker:stage
You can’t perform that action at this time.
0 commit comments