mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
fix zizmor findings
This commit is contained in:
4
.github/workflows/build-element-call.yaml
vendored
4
.github/workflows/build-element-call.yaml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: "yarn install --immutable"
|
run: "yarn install --immutable"
|
||||||
- name: Build Element Call
|
- name: Build Element Call
|
||||||
run: ${{ format('yarn run build:{0}:{1}', inputs.package, inputs.build_mode) }}
|
run: yarn run build:"$PACKAGE":"$BUILD_MODE"
|
||||||
env:
|
env:
|
||||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
@@ -54,6 +54,8 @@ jobs:
|
|||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
VITE_APP_VERSION: ${{ inputs.vite_app_version }}
|
VITE_APP_VERSION: ${{ inputs.vite_app_version }}
|
||||||
NODE_OPTIONS: "--max-old-space-size=4096"
|
NODE_OPTIONS: "--max-old-space-size=4096"
|
||||||
|
PACKAGE: ${{ inputs.package }}
|
||||||
|
BUILD_MODE: ${{ inputs.build_mode }}
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
11
.github/workflows/publish-embedded-packages.yaml
vendored
11
.github/workflows/publish-embedded-packages.yaml
vendored
@@ -23,7 +23,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Calculate VERSION
|
- name: Calculate VERSION
|
||||||
# We should only use the hard coded test value for a dry run
|
# We should only use the hard coded test value for a dry run
|
||||||
run: echo "VERSION=${{ github.event_name == 'release' && github.event.release.tag_name || 'v0.0.0-pre.0' }}" >> "$GITHUB_ENV"
|
run: |
|
||||||
|
# Die Logik wird nun innerhalb der Shell mit den Variablen ausgeführt
|
||||||
|
if [ "$EVENT_NAME" = "release" ]; then
|
||||||
|
echo "VERSION=$RELEASE_TAG" >> "$GITHUB_ENV"
|
||||||
|
else
|
||||||
|
echo "VERSION=v0.0.0-pre.0" >> "$GITHUB_ENV"
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
RELEASE_TAG: ${{ github.event.release.tag_name }}
|
||||||
|
EVENT_NAME: ${{ github.event_name }}
|
||||||
- id: dry_run
|
- id: dry_run
|
||||||
name: Set DRY_RUN
|
name: Set DRY_RUN
|
||||||
# We perform a dry run for all events except releases.
|
# We perform a dry run for all events except releases.
|
||||||
|
|||||||
Reference in New Issue
Block a user