Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/event_update_notification.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-03-05 22:19:09 +0300
committerGitHub <noreply@github.com>2022-03-05 22:19:09 +0300
commit624c209df6b92882e9a686bfe94b800fb7092a51 (patch)
treeb4cba6872d6c6b2f36d74e863636e54f1d73b19c
parent2a6847e3c52ba626df28c50f670b433c89e4ea18 (diff)
parent168739359753aa6b67c781136091d47209179b54 (diff)
Merge pull request #22 from nextcloud/feat/workflow-auto-update-appstore-build-publish.ymlfeat/workflow-auto-update-appstore-build-publish.yml
Updating appstore-build-publish.yml workflow from template
-rw-r--r--.github/workflows/appstore-build-publish.yml21
1 files changed, 13 insertions, 8 deletions
diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml
index b3e6a0f..178f7c0 100644
--- a/.github/workflows/appstore-build-publish.yml
+++ b/.github/workflows/appstore-build-publish.yml
@@ -23,7 +23,7 @@ jobs:
- name: Check actor permission
uses: skjnldsv/check-actor-permission@v2
with:
- require: admin
+ require: write
- name: Set app env
run: |
@@ -32,7 +32,7 @@ jobs:
echo "APP_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
path: ${{ env.APP_NAME }}
@@ -41,22 +41,22 @@ jobs:
uses: skjnldsv/xpath-action@master
with:
filename: ${{ env.APP_NAME }}/appinfo/info.xml
- expression: '//info//dependencies//nextcloud/@min-version'
+ expression: "//info//dependencies//nextcloud/@min-version"
- name: Read package.json node and npm engines version
- uses: skjnldsv/read-package-engines-version-actions@v1.1
+ uses: skjnldsv/read-package-engines-version-actions@v1.2
id: versions
# Continue if no package.json
continue-on-error: true
with:
path: ${{ env.APP_NAME }}
- fallbackNode: '^12'
- fallbackNpm: '^6'
+ fallbackNode: "^12"
+ fallbackNpm: "^6"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
# Skip if no package.json
if: ${{ steps.versions.outputs.nodeVersion }}
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -91,6 +91,11 @@ jobs:
npm ci
npm run build
+ - name: Install Krankerl
+ run: |
+ wget https://github.com/ChristophWurst/krankerl/releases/download/v0.13.0/krankerl_0.13.0_amd64.deb
+ sudo dpkg -i krankerl_0.13.0_amd64.deb
+
- name: Package ${{ env.APP_NAME }} ${{ env.APP_VERSION }}
# Try krankerl, fallback to makefile
run: |
@@ -106,7 +111,7 @@ jobs:
unzip latest-$NCVERSION.zip
- name: Checkout server master fallback
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
if: ${{ steps.server-checkout.outcome != 'success' }}
with:
repository: nextcloud/server