.gitea/workflows/build.yml aktualisiert
List Runner Tool Cache (Persistent) / check-tool-cache (push) Successful in 12s
Test Gitea Actions support Matrix? / build (16, ubuntu-latest) (push) Successful in 35s
Test Gitea Actions support Matrix? / build (14, ubuntu-latest) (push) Successful in 35s
Test Gitea Actions support Matrix? / build (18, ubuntu-latest) (push) Successful in 31s
Output Information / info (push) Successful in 7s
Build Workflow / Build (push) Successful in 44s
Build Workflow / Deploy (push) Successful in 27s

This commit is contained in:
2025-05-25 22:51:25 +02:00
parent 3f6e5ef56d
commit 91852d48c6
+6 -6
View File
@@ -64,7 +64,7 @@ jobs:
# Finds the desired Javascript file and prints a string 'script-file=<JS-FILENAME>' which then gets saved in the $GITHUB_OUTPUT file # Finds the desired Javascript file and prints a string 'script-file=<JS-FILENAME>' which then gets saved in the $GITHUB_OUTPUT file
run: find dist/assets/*.js -type f -execdir echo 'script-file={}' >> $GITHUB_OUTPUT ';' run: find dist/assets/*.js -type f -execdir echo 'script-file={}' >> $GITHUB_OUTPUT ';'
- name: Package Artifacts - name: Package Artifacts
uses: https://github.com/thedoctor0/zip-release@0.7.1 uses: thedoctor0/zip-release@0.7.1
with: with:
type: 'tar' type: 'tar'
path: dist path: dist
@@ -81,20 +81,20 @@ jobs:
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
- uses: KEINOS/gh-action-hash-for-cache@v2.0.0-alpha - uses: seepine/hash-files@v1
id: get-cache-hash id: get-cache-hash
with: with:
path: | patterns: |-
package-lock.json package-lock.json
- name: Show key future key value - name: Show key future key value
run: echo "deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}" run: echo "deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}"
- name: Setup Chache - name: Setup Chache
uses: https://github.com/actions/cache@v3 uses: actions/cache@v3
with: with:
path: ~/.npm path: ~/.npm
key: deps-node-modules-${{ steps.get-cache-hash.outputs.hash }} key: deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}
- name: Access Artifacts - name: Access Artifacts
uses: https://github.com/actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: dist.tar.gz name: dist.tar.gz
- name: Output JS Filename from Build Job - name: Output JS Filename from Build Job