From 99b7fccbbc0105371244d9fa20398e67feb77e74 Mon Sep 17 00:00:00 2001 From: Raphael Amorim Date: Tue, 2 Jul 2024 22:51:34 +0200 Subject: [PATCH] update actions-gh-pages --- .github/workflows/docs.yml | 2 +- .github/workflows/nightly.yml | 14 ++------------ .github/workflows/release.yml | 2 -- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 27da08c0e7..18cf6b3aac 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -45,7 +45,7 @@ jobs: run: make docs-build - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3.9.3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs/build diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 15b53efda6..bcaae9f3bc 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -25,14 +25,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Delete old nightly release uses: dev-drprasad/delete-tag-and-release@v1.0 with: tag_name: ${{ env.NIGHTLY_TAG }} github_token: ${{ secrets.GITHUB_TOKEN }} delete_release: true - - name: Bump version and push tag id: tag_version uses: mathieudutour/github-tag-action@v6.1 @@ -40,7 +38,6 @@ jobs: custom_tag: ${{ env.NIGHTLY_TAG }} tag_prefix: '' github_token: ${{ secrets.GITHUB_TOKEN }} - - id: status run: echo "created=true" >> "$GITHUB_OUTPUT" @@ -54,19 +51,16 @@ jobs: steps: - uses: actions/checkout@v4 - - name: rust cache uses: Swatinem/rust-cache@v2 - + with: + cache-all-crates: true - name: rustup toolchain install stable --profile minimal run: rustup toolchain install stable --profile minimal - - name: rustup target add x86_64-apple-darwin aarch64-apple-darwin run: rustup target add x86_64-apple-darwin aarch64-apple-darwin - - name: make release-macos run: make release-macos - - name: Release nightly uses: softprops/action-gh-release@v2 with: @@ -89,20 +83,16 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: rust cache uses: Swatinem/rust-cache@v2 with: cache-all-crates: true - - run: sudo apt install rename - run: rustup toolchain install stable --profile minimal - run: cargo install cargo-deb - run: mkdir -p release - - run: make release-debian-x11 - run: make release-debian-wayland - - name: Release nightly uses: softprops/action-gh-release@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 542c817172..3160fd0d6d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,10 +50,8 @@ jobs: - run: rustup toolchain install stable --profile minimal - run: cargo install cargo-deb - run: mkdir -p release - - run: make release-debian-x11 - run: make release-debian-wayland - - name: Release uses: softprops/action-gh-release@v1 with: