From 2d639169aefadb28726ab806640ea8a743ddd492 Mon Sep 17 00:00:00 2001 From: "U-METAL103\\103" Date: Sun, 28 Jan 2024 19:42:00 -0600 Subject: [PATCH] iiidddd --- .github/workflows/build.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50d0b9f..656cf25 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,7 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v4 + run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}' with: name: Release path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\* @@ -51,6 +52,10 @@ jobs: env: MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }} + ##- name: Get Artifact URL + ## run: echo "::set-output name=artifact_url::https://github.com/ELY3M/suites/$GITHUB_RUN_ID/artifacts/Release.zip" + + - name: Create Release uses: actions/create-release@latest env: @@ -67,10 +72,7 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - upload_url: ${ MYURL } - asset_path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\Release.zip - asset_name: Release.zip - asset_content_type: application/zip + upload_url: ${{ env.MYURL }} - name: Upload Release uses: softprops/action-gh-release@v1 @@ -83,6 +85,5 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} - - - \ No newline at end of file + + \ No newline at end of file