@@ -24,22 +24,33 @@ jobs:
2424 uses : actions/upload-artifact@v3.1.2
2525 with :
2626 # Artifact name
27- name : staticsitegenerator
27+ name : # optional, default is artifact
2828 # A file, directory or wildcard pattern that describes what to upload
29- path : main
29+ path :
3030 # The desired behavior if no files are found using the provided path.
3131Available Options :
3232 warn : Output a warning but do not fail the action
3333 error : Fail the action with an error message
3434 ignore : Do not output any warnings or errors, the action does not fail
3535
36- if-no-files-found : # optional, default is warn
36+ if-no-files-found :
3737 # Duration after which artifact will expire in days. 0 means using default retention.
3838Minimum 1 day. Maximum 90 days unless changed from the repository settings page.
3939
4040 retention-days : # optional
4141
42- - name : GitHub Releases
42+ - name : Upload to Release Action
4343 # You may pin to the exact commit or the version.
44- # uses: fnkr/github-action-ghr@96b1448dc6162f370067e1de51e856e733a76b4f
45- uses : fnkr/github-action-ghr@v1.3
44+ # uses: Shopify/upload-to-release@9942a4c936dab172f7101dcc7dc20528ea949102
45+ uses : Shopify/upload-to-release@v1.0.1
46+ with :
47+ # Artifact name
48+ name : staticsitegenerator
49+ # Path to the file to upload
50+ path : main
51+ # Content type for the file
52+ content-type : # optional, default is application/octet-stream
53+
54+ repo-token : secrets.GITHUB_TOKEN
55+
56+
0 commit comments