With "needs: jobX", jobX is running at the end #77
I have something like this:
jobs: prepare: runs-on: ubuntu-latest steps: - name: Prepare and Upgrade Image ... generate_ssl: runs-on: ubuntu-latest needs: prepare strategy: matrix: stage: - web1.com - web2.com - web3.com steps: - name: Generate SSL ...
However, it appears that
prepare is always running last, instead of first:
I monitored the jobs running, and
prepare definitely ran last.
needs: prepare, the same happened too.
I also tried putting "prepare" at the bottom rather than above "generate_ssl" (in case Gitea Actions somehow were just reversing the order of the jobs), and the exact same happens, with the same order as above.
Is this a bug, or am I doing something wrong here?
Thank you very much!
Alright... looks like the jobs are simply being sorted alphabetically, and definitely, the
needs isn't working.
It shouldn't be. I'll try to fix it later.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?