Skip to content

Commit

Permalink
update actions-gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jul 2, 2024
1 parent eb8c066 commit 99b7fcc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 2 additions & 12 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,19 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Delete old nightly release
uses: dev-drprasad/[email protected]
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/[email protected]
with:
custom_tag: ${{ env.NIGHTLY_TAG }}
tag_prefix: ''
github_token: ${{ secrets.GITHUB_TOKEN }}

- id: status
run: echo "created=true" >> "$GITHUB_OUTPUT"

Expand All @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 99b7fcc

Please sign in to comment.