-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alexey Cluster <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
tar -czvf ../${{ env.APP_NAME }}.tar.gz * | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.APP_NAME }} | ||
path: ${{ env.OUT_DIR }} | ||
|
@@ -55,9 +55,15 @@ jobs: | |
- name: Download artifacts | ||
uses: actions/[email protected] | ||
|
||
- name: Debug print | ||
run: find . | ||
|
||
- name: Move files to the root | ||
run: find -mindepth 2 -exec mv {} . \; | ||
|
||
- name: Debug print | ||
run: find . | ||
|
||
- name: Calculate and save MD5 for each file | ||
run: | | ||
for file in *; do | ||
|
@@ -66,6 +72,9 @@ jobs: | |
fi | ||
done | ||
- name: Debug print | ||
run: find . | ||
|
||
- name: Generate index.html | ||
run: | | ||
echo "<html><head><title>FDSKey</title></head><meta http-equiv='Cache-Control' content='no-cache, no-store, must-revalidate'/>" > index.html | ||
|
@@ -76,6 +85,9 @@ jobs: | |
echo "Bootloader (.elf): <a href='bootloader.elf'>bootloader.elf</a><br/><small>(MD5: <a href='bootloader.elf.md5'>`cat bootloader.elf.md5`</a>)</small></br>Use this file to write the bootloader using programmer.<br/><br/>" >> index.html | ||
echo "</body></html>" >> index.html | ||
- name: Debug print | ||
run: find . | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
|