Skip to content

Commit 38bdec7

Browse files
authored
Update main.yml
1 parent 3464cd6 commit 38bdec7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
run: echo "::set-output name=date::$(date +'%Y-%m-%d_%H-%M-%S')"
1818
- name: build artifacts
1919
run: |
20-
mkdir release
21-
cp v10_prototype_version_2/20220109/helper.py release/helper.py
22-
cp v10_prototype_version_2/20220109/config.py release/config.py
23-
cp v10_prototype_version_2/20220109/ecu_simulator_v1.py release/main.py
24-
cp v10_prototype_version_2/20220109/test_02_calc_hash_2.py release/generate_config.py
25-
zip release.zip release/*
20+
mkdir release_${{ steps.date.outputs.date }}
21+
cp v10_prototype_version_2/20220109/helper.py release_${{ steps.date.outputs.date }}/helper.py
22+
cp v10_prototype_version_2/20220109/config.py release_${{ steps.date.outputs.date }}/config.py
23+
cp v10_prototype_version_2/20220109/ecu_simulator_v1.py release_${{ steps.date.outputs.date }}/main.py
24+
cp v10_prototype_version_2/20220109/test_02_calc_hash_2.py release_${{ steps.date.outputs.date }}/generate_config.py
25+
zip release_${{ steps.date.outputs.date }}.zip release_${{ steps.date.outputs.date }}/*
2626
- name: release
2727
uses: actions/create-release@v1
2828
id: create_release

0 commit comments

Comments
 (0)