Compare commits

...
12 Commits
71 ... 83
Author SHA1 Message Date
U-METAL103\103 176f2d4f95 cutoff 2024-01-30 20:04:02 -06:00
U-METAL103\103 f8597e5d82 workass 2024-01-30 19:57:43 -06:00
U-METAL103\103 fe7a3cf044 work4 2024-01-30 18:33:12 -06:00
U-METAL103\103 7bb51ec6a8 work3 2024-01-30 18:28:37 -06:00
U-METAL103\103 d2d156e31b work2 2024-01-30 18:13:19 -06:00
U-METAL103\103 5ccad6ae58 work 2024-01-30 18:05:17 -06:00
U-METAL103\103 242ebfa1a9 need-id..... 2024-01-30 17:57:02 -06:00
U-METAL103\103 e2d44a752f echo4 2024-01-30 17:44:25 -06:00
U-METAL103\103 1f3576c787 echo3 2024-01-30 17:35:12 -06:00
U-METAL103\103 47252f024f echo2 2024-01-30 17:29:52 -06:00
U-METAL103\103 b752455524 echo1 2024-01-30 17:22:48 -06:00
U-METAL103\103 8871ea4388 vars-save-pls 2024-01-30 17:14:08 -06:00
+18 -22
View File
@@ -47,27 +47,17 @@ jobs:
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
id: upload
with: with:
name: Release name: Release
path: ${{ github.workspace }}\Digital Clock\bin\Release\* path: ${{ github.workspace }}\Digital Clock\bin\Release\*
retention-days: 1 retention-days: 1
env:
GITHUB_TOKEN: ${{ github.token }}
MYID: ${{ steps.artifact-upload-step.outputs.artifact-id }}
MYURL: ${{ steps.artifact-upload-step.outputs.artifact-url }}
- name: Output Artifact MYURL - name: Output artifact ID
run: echo 'Artifact URL is ${{ steps.artifact-upload-step.outputs.artifact-url }}' run: echo 'Artifact ID is ${{ steps.upload.outputs.artifact-id }}'
- name: Output env.MYURL - name: Output Artifact URL
run: echo 'Artifact URL is ${{ env.MYURL }}' run: echo 'Artifact URL is ${{ steps.upload.outputs.artifact-url }}'
- name: Output vars.MYURL
run: echo 'Artifact URL is ${{ vars.MYURL }}'
- name: Output artifact URL test1
run: echo 'Artifact URL is ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}'
- name: Create Release - name: Create Release
uses: actions/create-release@latest uses: actions/create-release@latest
@@ -85,7 +75,10 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}
with: with:
upload_url: ${{ env.MYURL }} upload_url: ${{ steps.upload.outputs.artifact-url }}
asset_path: ${{ github.workspace }}\Release.zip
asset_name: Release.zip
asset_content_type: application/zip
- name: Upload Release - name: Upload Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
@@ -94,9 +87,12 @@ jobs:
prerelease: false prerelease: false
tag_name: ${{ github.run_number }} tag_name: ${{ github.run_number }}
body: ${{ github.event.head_commit.message }} body: ${{ github.event.head_commit.message }}
files: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\* files: ${{ github.workspace }}\Digital Clock\bin\Release.zip
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}