From 2f00091c1408c084ddb936343730b5e37edaa583 Mon Sep 17 00:00:00 2001 From: Thomas Brugman <145768128+Githubguy132010@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:11:46 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 251ebaec5..477951a5c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,25 +46,25 @@ jobs: - name: Get current date id: date - run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT + run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_ENV # Create a release on GitHub using Personal Access Token (PAT) - name: Create GitHub Release id: create_release # Adding an ID to reference the release step - uses: actions/create-release@v1.1.4 + uses: actions/create-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: v${{ github.run_id }}-release release_name: "Arch Linux Release" body: | - This release contains the Arch Linux ISO built on ${{ steps.date.outputs.date }}. + This release contains the Arch Linux ISO built on ${{ env.date }}. draft: false prerelease: false # Upload the ISO to the GitHub release with a specific, predictable name - name: Upload ISO to GitHub Release - uses: actions/upload-release-asset@v1 + uses: actions/upload-release-asset@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: