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

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-08-19 01:10:15 +0300
committerthecalcaholic <6317548+theCalcaholic@users.noreply.github.com>2022-08-19 01:10:15 +0300
commit36a1439c04b641c0106c93d5986a6cfb6c67dde2 (patch)
tree9ee18688c462406de5fa5a48f3000e158133b104 /.github
parentae4186a0a4f0f0fc5d3cb66fc5198c5a74c83b2a (diff)
pr-tests.yml, build-docker.yml: Use correct github ref in PRs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-docker.yml4
-rw-r--r--.github/workflows/pr-tests.yml2
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml
index 59bc2e85..c1f80929 100644
--- a/.github/workflows/build-docker.yml
+++ b/.github/workflows/build-docker.yml
@@ -30,7 +30,7 @@ jobs:
- arm64
fail-fast: false
env:
- VERSION: "${{ inputs.git_ref || github.head_ref || github.ref_name }}"
+ VERSION: "${{ inputs.git_ref || github.ref }}"
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
@@ -73,7 +73,7 @@ jobs:
- build
runs-on: ubuntu-latest
env:
- VERSION: "${{ inputs.git_ref || github.head_ref || github.ref_name }}"
+ VERSION: "${{ inputs.git_ref || github.ref }}"
strategy:
matrix:
diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml
index 4a7fa895..b32ffec3 100644
--- a/.github/workflows/pr-tests.yml
+++ b/.github/workflows/pr-tests.yml
@@ -8,4 +8,4 @@ jobs:
lxd:
uses: ./.github/workflows/build-lxd.yml
with:
- git_ref: "${{ env.GITHUB_REF }}"
+ git_ref: "${{ github.ref }}"