summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOpportunity <[email protected]>2020-06-30 10:30:42 +0800
committerOpportunity <[email protected]>2020-06-30 10:30:42 +0800
commitb76ea912de376644af7e46347cb5770788efd156 (patch)
treec84721aaa220e3d18037b88b2b4a24208752a3cf /.github/workflows
parent761d86e8804754630c122c65c3fba0d501bf0d89 (diff)
improve actions for forked repos
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/linux.yml2
-rw-r--r--.github/workflows/macos.yml2
-rw-r--r--.github/workflows/windows.yml3
3 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 57242d1b1..1cc42d3a4 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
- xmake-version: sha@${{ github.sha }}
+ xmake-version: ${{ github.repository }}#sha@${{ github.sha }}
- uses: mihails-strasuns/[email protected]
with:
compiler: dmd-latest
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index d79650dc6..3dc4ff87a 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
with:
- xmake-version: sha@${{ github.sha }}
+ xmake-version: ${{ github.repository }}#sha@${{ github.sha }}
- uses: mihails-strasuns/[email protected]
with:
compiler: dmd-latest
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index e723d1ff6..61c2d7906 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -17,8 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: xmake-io/github-action-setup-xmake@v1
- # this is not supported, use dev branch instead
with:
+ # this is not supported, use dev branch instead
+ # xmake-version: ${{ github.repository }}#sha@${{ github.sha }}
xmake-version: branch@dev
- uses: mihails-strasuns/[email protected]
with: