mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 10:13:32 -04:00 
			
		
		
		
	chore: remove GitHub Actions deprecated command (#2790)
* Resolves GitHub Actions usage of deprecated command for setting output * Updates action versions to the latest released versions --------- Co-authored-by: Trenton Holmes <trenton.holmes@psware.com>
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/partial-backend.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/partial-backend.yml
									
									
									
									
										vendored
									
									
								
							| @@ -36,7 +36,7 @@ jobs: | |||||||
|     # Steps |     # Steps | ||||||
|     steps: |     steps: | ||||||
|       - name: Check out repository |       - name: Check out repository | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Set up python |       - name: Set up python | ||||||
|         uses: actions/setup-python@v4 |         uses: actions/setup-python@v4 | ||||||
| @@ -60,7 +60,7 @@ jobs: | |||||||
|         id: cache-validate |         id: cache-validate | ||||||
|         if: steps.cached-poetry-dependencies.outputs.cache-hit == 'true' |         if: steps.cached-poetry-dependencies.outputs.cache-hit == 'true' | ||||||
|         run: | |         run: | | ||||||
|           echo "import black;print('venv good?')" > test.py && poetry run python test.py && echo ::set-output name=cache-hit-success::true |           echo "import black;print('venv good?')" > test.py && poetry run python test.py && echo "cache-hit-success=true" >> $GITHUB_OUTPUT | ||||||
|           rm test.py |           rm test.py | ||||||
|         continue-on-error: true |         continue-on-error: true | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								.github/workflows/partial-builder.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/partial-builder.yml
									
									
									
									
										vendored
									
									
								
							| @@ -20,26 +20,26 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout repository |       - name: Checkout repository | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Log in to the Container registry (ghcr.io) |       - name: Log in to the Container registry (ghcr.io) | ||||||
|         uses: docker/login-action@v2 |         uses: docker/login-action@v3 | ||||||
|         with: |         with: | ||||||
|           registry: ghcr.io |           registry: ghcr.io | ||||||
|           username: ${{ github.actor }} |           username: ${{ github.actor }} | ||||||
|           password: ${{ secrets.GITHUB_TOKEN }} |           password: ${{ secrets.GITHUB_TOKEN }} | ||||||
|  |  | ||||||
|       - name: Log in to the Container registry (dockerhub) |       - name: Log in to the Container registry (dockerhub) | ||||||
|         uses: docker/login-action@v2 |         uses: docker/login-action@v3 | ||||||
|         with: |         with: | ||||||
|           username: ${{ secrets.DOCKERHUB_USERNAME }} |           username: ${{ secrets.DOCKERHUB_USERNAME }} | ||||||
|           password: ${{ secrets.DOCKERHUB_TOKEN }} |           password: ${{ secrets.DOCKERHUB_TOKEN }} | ||||||
|  |  | ||||||
|       - name: Set up QEMU |       - name: Set up QEMU | ||||||
|         uses: docker/setup-qemu-action@v2 |         uses: docker/setup-qemu-action@v3 | ||||||
|  |  | ||||||
|       - name: Set up Docker Buildx |       - name: Set up Docker Buildx | ||||||
|         uses: docker/setup-buildx-action@v2 |         uses: docker/setup-buildx-action@v3 | ||||||
|  |  | ||||||
|       - name: Override __init__.py |       - name: Override __init__.py | ||||||
|         run: | |         run: | | ||||||
|   | |||||||
							
								
								
									
										16
									
								
								.github/workflows/partial-frontend.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/partial-frontend.yml
									
									
									
									
										vendored
									
									
								
							| @@ -9,20 +9,20 @@ jobs: | |||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout 🛎 |       - name: Checkout 🛎 | ||||||
|         uses: actions/checkout@master |         uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Setup node env 🏗 |       - name: Setup node env 🏗 | ||||||
|         uses: actions/setup-node@v3.7.0 |         uses: actions/setup-node@v4.0.0 | ||||||
|         with: |         with: | ||||||
|           node-version: 16 |           node-version: 16 | ||||||
|           check-latest: true |           check-latest: true | ||||||
|  |  | ||||||
|       - name: Get yarn cache directory path 🛠 |       - name: Get yarn cache directory path 🛠 | ||||||
|         id: yarn-cache-dir-path |         id: yarn-cache-dir-path | ||||||
|         run: echo "::set-output name=dir::$(yarn cache dir)" |         run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|       - name: Cache node_modules 📦 |       - name: Cache node_modules 📦 | ||||||
|         uses: actions/cache@v3.3.1 |         uses: actions/cache@v3.3.2 | ||||||
|         id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) |         id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||||||
|         with: |         with: | ||||||
|           path: ${{ steps.yarn-cache-dir-path.outputs.dir }} |           path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||||||
| @@ -47,20 +47,20 @@ jobs: | |||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout 🛎 |       - name: Checkout 🛎 | ||||||
|         uses: actions/checkout@master |         uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Setup node env 🏗 |       - name: Setup node env 🏗 | ||||||
|         uses: actions/setup-node@v3.7.0 |         uses: actions/setup-node@v4.0.0 | ||||||
|         with: |         with: | ||||||
|           node-version: 16 |           node-version: 16 | ||||||
|           check-latest: true |           check-latest: true | ||||||
|  |  | ||||||
|       - name: Get yarn cache directory path 🛠 |       - name: Get yarn cache directory path 🛠 | ||||||
|         id: yarn-cache-dir-path |         id: yarn-cache-dir-path | ||||||
|         run: echo "::set-output name=dir::$(yarn cache dir)" |         run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT | ||||||
|  |  | ||||||
|       - name: Cache node_modules 📦 |       - name: Cache node_modules 📦 | ||||||
|         uses: actions/cache@v3.3.1 |         uses: actions/cache@v3.3.2 | ||||||
|         id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) |         id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | ||||||
|         with: |         with: | ||||||
|           path: ${{ steps.yarn-cache-dir-path.outputs.dir }} |           path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||||||
|   | |||||||
| @@ -11,7 +11,7 @@ jobs: | |||||||
|       fail-fast: true |       fail-fast: true | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout code |       - name: Checkout code | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: Build Dockerfile |       - name: Build Dockerfile | ||||||
|         run: | |         run: | | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user