Skip to content

Commit

Permalink
Modern optimize.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornloverALT authored Jul 23, 2024
1 parent ee193f1 commit 1ed7d9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/optimize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0

- name: 📦 Install oxipng
uses: baptiste0928/cargo-install@v2
uses: baptiste0928/cargo-install@v3
with:
crate: oxipng
version: latest
Expand All @@ -44,10 +44,10 @@ jobs:
- name: ⬆️ Commit and push changes
if: ${{ steps.optimized-files.outputs.all_optimized_files }}
uses: swinton/[email protected]
uses: tohgarashi/verified-[email protected]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: ${{ steps.optimized-files.outputs.all_optimized_files }}
commit-message: ':zap: Optimize PNG files'
ref: ${{ github.ref }}
ref: ${{ github.ref }}

4 comments on commit 1ed7d9b

@arichornloverALT
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

swinton/[email protected] was outdated and had deprecated warnings ⚠️, so I replaced it with tohgarashi/[email protected]
baptiste0928/cargo-install@v2 was also outdated but updated it to baptiste0928/cargo-install@v3** and I updated it because it had the same deprecated warnings ⚠️.

@arichornlover
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

351552227-62036ddb-d780-4554-989a-99f3ca26cc877

@arichornlover
Copy link

@arichornlover arichornlover commented on 1ed7d9b Jul 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[22:12:54] [Server thread/INFO]:
 Saving manually...
[22:12:54] [Server thread/INFO]:
 Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[22:12:55] [Render thread/INFO]:
 Stopping!
[22:12:55] [Render thread/INFO]:
 [FastQuit] Exiting FastQuit.
[22:12:55] [Render thread/INFO]:
 [FastQuit] Waiting for "New World" to finish saving...
[22:12:55] [CullThread/INFO]:
 [STDOUT]: Shutting down culling task!
[22:12:58] [Server thread/INFO]:
 Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[22:12:58] [Server thread/INFO]:
 Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[22:12:59] [Server thread/INFO]:
 {MINECRAFT_USERNAME} lost connection: Disconnected
[22:12:59] [Server thread/INFO]:
 {MINECRAFT_USERNAME} left the game
[22:12:59] [Server thread/INFO]:
 Stopping singleplayer server as player logged out
[22:12:59] [Server thread/INFO]:
 Stopping server
[22:12:59] [Server thread/INFO]:
 [FastQuit] Finished saving "New World" (5s)
[22:12:59] [IO-Worker-15/ERROR]:
 Cound not schedule mailbox
java.util.concurrent.RejectedExecutionException: Task IOWorker-chunk 2 false rejected from java.util.concurrent.ThreadPoolExecutor@24ebe346[Shutting down, pool size = 3, active threads = 3, queued tasks = 0, completed tasks = 143505]
	at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source) ~[?:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source) ~[?:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source) ~[?:?]
	at net.minecraft.class_3846.method_16908(class_3846.java:135) ~[client-intermediary.jar:?]
	at net.minecraft.class_3846.run(class_3846.java:105) ~[client-intermediary.jar:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
	at java.base/java.lang.Thread.run(Unknown Source) [?:?]

@arichornloverALT
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I did make it more modern with the newer action dependencies, I still got 1 deprecation error remaining and seems like tohgarashi/[email protected] contains Node.js 16, honestly it’s better then Node.js 12’s deprecation warning that I had previously.

Please sign in to comment.