Skip to content

Commit

Permalink
ci: Update some actions version
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Apr 27, 2024
1 parent 85987ce commit bd69e55
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/aab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Lint flutter code
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
Expand All @@ -28,7 +28,7 @@ jobs:
needs: linter

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches and tags

Expand Down Expand Up @@ -67,14 +67,14 @@ jobs:

# Archive apk
- name: Archive apk
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill-flutter-apk-release
path: src/ui/flutter_app/build/app/outputs/flutter-apk/app-release.apk

# Archive aab
- name: Archive aab
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill-flutter-aab-release
path: src/ui/flutter_app/build/app/outputs/bundle/release/app-release.aab
2 changes: 1 addition & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
clang-format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: RafikFarhad/clang-format-github-action@v1.0.1
with:
sources: "src/**/*.h,src/**/*.cpp"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Cygwin
uses: cygwin/cygwin-install-action@master
Expand All @@ -31,7 +31,7 @@ jobs:

# Archive
- name: Archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill_cygwin-g++.exe
path: src/sanmill.exe
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Export environment valuables
run: export
Expand All @@ -57,7 +57,7 @@ jobs:

# Archive
- name: Archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill_linux-g++
path: src/sanmill
Expand All @@ -66,7 +66,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Export environment valuables
run: export
Expand All @@ -80,7 +80,7 @@ jobs:

# Archive
- name: Archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill_darwin-g++
path: src/sanmill
4 changes: 2 additions & 2 deletions .github/workflows/flutter-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:

# Archive apk
- name: Archive apk
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill-flutter-apk-test
path: src/ui/flutter_app/build/app/outputs/flutter-apk/app-release.apk
10 changes: 5 additions & 5 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
name: Lint flutter code
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.6'
- run: bash -x ./flutter-init.sh
- run: cp -f ./src/ui/flutter_app/analysis_options.yaml ./
- name: Analyze Flutter
uses: ValentinVignal/action-dart-analyze@v0.14
uses: ValentinVignal/action-dart-analyze@v0.17
with:
fail-on: 'format'
working-directory: src/ui/flutter_app
Expand All @@ -32,7 +32,7 @@ jobs:
needs: linter

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
Expand Down Expand Up @@ -68,14 +68,14 @@ jobs:

# Archive apk
- name: Archive apk
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill-flutter-apk-release
path: src/ui/flutter_app/build/app/outputs/flutter-apk/app-release.apk

# Archive aab
- name: Archive aab
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill-flutter-aab-release
path: src/ui/flutter_app/build/app/outputs/bundle/release/app-release.aab
6 changes: 3 additions & 3 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches and tags

Expand All @@ -19,7 +19,7 @@ jobs:

- name: Export environment valuables
run: export

- name: Install gsed
run: brew install gnu-sed

Expand All @@ -38,7 +38,7 @@ jobs:

# Archive ipa
- name: Archive ipa
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ios-app-release
path: src/ui/flutter_app/build/ios/iphoneos/Runner.app
4 changes: 2 additions & 2 deletions .github/workflows/msix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
git config --global core.autocrlf input
git config --global core.eol lf
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: subosito/flutter-action@v2
with:
Expand All @@ -39,7 +39,7 @@ jobs:
run: cd src/ui/flutter_app; flutter build windows --release -v; dart run msix:create

- name: Archive msix
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sanmill-msix
path: src/ui/flutter_app/build/windows/x64/runner/Release/sanmill.msix
4 changes: 2 additions & 2 deletions .github/workflows/qt-on-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup VS
uses: seanmiddleditch/gha-setup-vsdevenv@master
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
cmake --build . --target mill-pro --config Release
- name: Archive Qt
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mill-pro
path: src/ui/qt/release/mill-pro.exe
4 changes: 2 additions & 2 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
name: Snapcraft Build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}
Expand Down

0 comments on commit bd69e55

Please sign in to comment.