The HAWC observatory is an air-shower detector, which is designed to study both astrophysical gamma-rays in the TeV region and galactic cosmic rays in the energy interval from 1 TeV to 1 PeV. This energy regime is interesting for cosmic ray research, since indirect observations overlap with direct measurements, which offers the opportunity for cross calibration and studies of experimental systematic errors in both techniques. One quantity that could help for this purpose is the all-particle energy spectrum of cosmic rays. In this work, we present an update of HAWC measurements on the total cosmic-ray energy spectrum between 10 TeV and 1 PeV. The spectrum was obtained from an unfolding analysis of almost two years of HAWC's data, which was collected from January, 2018 to December, 2019. For the energy estimation, we employed the high-energy hadronic interaction model QGSJET-II-04. As in a previous work of HAWC, published in 2017, we observed the presence of a knee-like feature in the region of tens of TeV.