-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$GITHUB_OUTPUT not available between jobs #28091
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Same thing, |
I know the reason. The output results will be saved in DB, but before this fix, the target table does not exsit.
|
Yup, moving to 1.21.1 worked for me. Thanks for looking into it. @kristophercrawford are you still having the issue ? |
Here is what I am seeing on the db side: MariaDB [gitea]> describe action_task_output;
+--------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+--------------+------+-----+---------+----------------+
| id | bigint(20) | NO | PRI | NULL | auto_increment |
| task_id | bigint(20) | YES | MUL | NULL | |
| output_key | varchar(255) | YES | | NULL | |
| output_value | mediumtext | YES | | NULL | |
+--------------+--------------+------+-----+---------+----------------+
4 rows in set (0.002 sec)
MariaDB [gitea]> select * from action_task_output\G
*************************** 1. row ***************************
id: 1
task_id: 822
output_key: output2
output_value: 8c8c7b6b-ef4b-45bb-a87c-5613a3e9c224
*************************** 2. row ***************************
id: 2
task_id: 822
output_key: output1
output_value: 2023-11-29T12:17:08+00:00
2 rows in set (0.001 sec)
MariaDB [gitea]> No errors in the
|
It seems that we have another issue here. 😕 |
Fresh install of 1.21.1 works on bare metal, upgrading from 1.21.0+rc2-55 to 1.21.1 is what didn't work for me. |
Fresh install ps: I can only get |
I believe I got it from here: https://dl.gitea.com/gitea/1.21.0-rc2/ Also, I think I figured out our installation differences. I am also using haproxy to terminate ssl for gitea and perform a port translation from 443 on the outside to 3000 on the gitea server. If I disable that by changing the Moving the |
Thanks for your test and report. I think this information is helpful and important for us to detect the porblem. |
Which |
I have tried setting act_runner to use 127.0.0.1:3000, 192.168.10.88:3000, and my external domain. The only time I am seeing output in the job2 data is when I have the |
Actually, disregard all of what I said. I was only selecting re-run all jobs after changing my If I switch the |
Description
I copied the workflow file from #24230 and ran this on my Gitea instance. The result of the jobs is captured below in screenshots.
Gitea Version
1.21.0+rc2-55
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
2.30.2
Operating System
Ubuntu 22.04
How are you running Gitea?
Pre-compiled binary for arm64 on an Orange Pi 5, running through systemd (gitea and act_runner).
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: