Skip to content

Commit

Permalink
Update GitHub Action Versions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and luyanci committed Dec 10, 2024
1 parent 191c3b4 commit aecb18b
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/action-check.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@v4.1.1
- uses: actions/checkout@v4.2.2
with:
token: ${{ secrets.GH_TOKEN }}
- name: Run GitHub Actions Version Updater
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
os: [windows-latest,ubuntu-latest,macos-latest,macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.2.2
- name: Use Node.js 20.x
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@v4.1.0
with:
node-version: "20"
- name: Cache NPM dependencies
uses: actions/cache@v4.0.2
uses: actions/cache@v4.2.0
with:
path: ./electron-static/node_modules
key: ${{ runner.os }}-npm-app-cache
Expand All @@ -51,7 +51,7 @@ jobs:
cd electron-static
7z a -tzip genish-impact-${{ runner.os }}-${{runner.arch}}.zip ./genish-impact-*
- name: Upload (${{ runner.os }})
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4.4.3
with:
name: genish-impact-${{ runner.os }}-${{runner.arch}}
path: electron-static/genish-impact-${{ runner.os }}-${{runner.arch}}.zip
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
name: Publish to dockerhub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.2.2
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3.7.1
- name: Login
uses: docker/login-action@v3.1.0
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build & Push
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v6.10.0
with:
context: .
push: true
Expand All @@ -34,17 +34,17 @@ jobs:
name: Publish to ghcr.io
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.2.2
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v3.7.1
- name: Login
uses: docker/login-action@v3.1.0
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ secrets.GH_USERNAME }}
password: ${{ secrets.GH_TOKEN }}
- name: Build & Push
uses: docker/build-push-action@v5.3.0
uses: docker/build-push-action@v6.10.0
with:
context: .
push: true
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.2.2
- name: Use Node.js 20.x
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@v4.1.0
with:
node-version: "20"
- name: Cache NPM dependencies
uses: actions/cache@v4.0.2
uses: actions/cache@v4.2.0
with:
path: ./Genshin-Impact-Wish-Simulator/node_modules
key: ${{ runner.OS }}-npm-frontend-cache
Expand All @@ -43,7 +43,7 @@ jobs:
cd Genshin-Impact-Wish-Simulator
7z a -tzip frontend.zip ./.vercel/output/static
- name: Upload
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4.4.3
with:
name: frontend
path: Genshin-Impact-Wish-Simulator/frontend.zip
Expand All @@ -58,9 +58,9 @@ jobs:
git config --global user.name github-actions[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2
- name: Download Artifact
uses: actions/download-artifact@v4.1.4
uses: actions/download-artifact@v4.1.8
with:
name: frontend
- name: Remove old
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
needs: app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.2.2
- name: Download Artifact
uses: actions/download-artifact@v4.1.4
uses: actions/download-artifact@v4.1.8
- name: Create Release
uses: softprops/action-gh-release@v2.0.4
uses: softprops/action-gh-release@v2.1.0
with:
files: ./**/genish-impact*.*
body_path: ./CHANGELOG.md
16 changes: 8 additions & 8 deletions .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os: [windows-latest,ubuntu-latest,macos-latest,macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.2.2
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: install dependencies (ubuntu only)
Expand All @@ -22,18 +22,18 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Use Node.js 20.x
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@v4.1.0
with:
node-version: "20"
- name: Cache NPM dependencies
uses: actions/cache@v4.0.2
uses: actions/cache@v4.2.0
with:
path: ./Genshin-Impact-Wish-Simulator/node_modules
key: ${{ runner.OS }}-${{runner.arch}}-npm-frontend-cache
restore-keys: |
${{ runner.OS }}-npm-frontend-cache
- name: Cache Rust
uses: Swatinem/rust-cache@v2.7.3
uses: Swatinem/rust-cache@v2.7.5
with:
prefix-key: "Cache-${{ runner.os }}-${{runner.arch}}"
workspaces: "Genshin-Impact-Wish-Simulator/src-tauri"
Expand All @@ -48,25 +48,25 @@ jobs:
yarn run tauri build
- name: Upload (Windows)
if: runner.os == 'windows'
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4.4.3
with:
name: genish-impact-Tauri-${{ runner.os }}
path: Genshin-Impact-Wish-Simulator/src-tauri/target/release/bundle/
- name: Upload Appimage (Linux)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4.4.3
with:
name: genish-impact-Tauri-${{ runner.os }}-appimage
path: Genshin-Impact-Wish-Simulator/src-tauri/target/release/bundle/appimage/genish-impact_*.AppImage
- name: Upload deb (Linux)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4.4.3
with:
name: genish-impact-Tauri-${{ runner.os }}-deb
path: Genshin-Impact-Wish-Simulator/src-tauri/target/release/bundle/deb/genish-impact_*.deb
- name: Upload dmg (Macos)
if: runner.os == 'macos'
uses: actions/upload-artifact@v4.3.1
uses: actions/upload-artifact@v4.4.3
with:
name: genish-impact-Tauri-${{ runner.os }}-dmg-${{runner.arch}}
path: Genshin-Impact-Wish-Simulator/src-tauri/target/release/bundle/dmg/*.dmg
10 changes: 5 additions & 5 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v4.1.1
- uses: actions/checkout@v4.2.2
- name: Use Node.js 20.x
uses: actions/setup-node@v4.0.2
uses: actions/setup-node@v4.1.0
with:
node-version: "20"
- name: Cache NPM dependencies
uses: actions/cache@v4.0.2
uses: actions/cache@v4.2.0
with:
path: ./webdocs/node_modules
key: ${{ runner.OS }}-npm-frontend-cache
Expand All @@ -41,7 +41,7 @@ jobs:
cd webdocs
yarn run build
- name: Deploy
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v3.0.1
with:
path: ./webdocs/docs/.vitepress/dist
deploy:
Expand All @@ -56,4 +56,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4.0.5

0 comments on commit aecb18b

Please sign in to comment.