Is AUTHOR wrong in the post ? POST : Long backstory ahead.

My friend and I are both 3rd year highschoolers, everyday our school has a special classes for general work and activities, and that includes class competitions that we're both apart of. What the competition entails is bringing in the most food for your classroom and whichever has the most wins a special breakfast for the class. After all is decided, all the food the school donates is then given to charities.

My class is one of the two most competitive classes for this, and last year we just barely lost. The most common way to get food is to stand outside grocery stores and request them to buy the needed food. Last year my friend convinced me to do a total of four shifts, I hated it as we were standing in the cold at night for two hours, good cause but it was tiring. 

My friend texted me asking where I was as he was just about ready to do the second, and I had no clue about it due to lack of communication. When I explained that I couldn't come as it was in the opposite direction from another friend's house I was at and too short of notice, he simply said 'Fuck you' and held that grudge for awhile after, ignoring me (The grudge lasted through the rest of the hours he would do until we cleared it up, understanding it was a genuine miscommunication on both parts).

Now to the point, he's been egging me on to do the service with him to get food donations for awhile this year. I haven't said it directly but I have shown I'm not eager to. I'm not in opposition to charity work in the slightest, but it was very draining and cold especially this time of year. And additionally I felt that he was being harsh last year instead of wanting to communicate with me when I was trying to and I'm afraid of it breaking out into drama with him again.

He said today that if I don't do the work with him, I need to bring in my own groceries to donate or he won't hang out outside of school with me. I can assume this means the silent treatment at school as well for at least a few weeks. I feel the need to state how this charity work shouldn't be used as a punishment against me, but for his own good intentions. I'm thinking of bringing my own groceries to donate, but if I do I want to make it clear that I didn't do it to remain his friend but actually take part in the charity work, not even for some stupid breakfast.

So AITA? Am I in the right to not want to do hours with him, and stating how I don't want to contribute out of his threats to our friendship? 

Or should I just do the hours with him? Am I making too big of a deal out of what happened close to a year ago?