Skip to content

Commit e6f9d63

Browse files
Update main.yml
- Update Flutter Action v2.3.0. - Create date and seconds steps.
1 parent 1af5f0a commit e6f9d63

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
submodules: recursive
1414
token: ${{ secrets.PAT }}
15-
- uses: subosito/flutter-action@v1.5.3
15+
- uses: subosito/flutter-action@v2.3.0
1616
with:
1717
channel: stable
1818
- name: Clone deployment repo
@@ -24,6 +24,12 @@ jobs:
2424
run: |
2525
flutter build web --release
2626
mv build/web/* clone_dir/flutterwebsites/minimal
27+
- name: Get current date
28+
id: date
29+
run: echo "::set-output name=date::$(date +'%Y%m%d')"
30+
- name: Get time in seconds
31+
id: seconds
32+
run: echo "::set-output name=seconds::$(seconds +'%s')"
2733
- name: Push build commit
2834
run: |
2935
cd clone_dir

0 commit comments

Comments
 (0)