Build from the master branch
Or rather don't worry about the branch and just use which ever the action is triggered from
This commit is contained in:
+12
-18
@@ -18,8 +18,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
ref: 'WIP'
|
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
@@ -50,8 +48,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
ref: 'WIP'
|
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
@@ -79,8 +75,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone
|
- name: Clone
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
|
||||||
ref: 'WIP'
|
|
||||||
|
|
||||||
- name: Compile
|
- name: Compile
|
||||||
shell: cmd
|
shell: cmd
|
||||||
@@ -114,15 +108,15 @@ jobs:
|
|||||||
name: SavvyCAN-Windows_x64
|
name: SavvyCAN-Windows_x64
|
||||||
path: package
|
path: package
|
||||||
|
|
||||||
notify:
|
#notify:
|
||||||
name: Notify Discord
|
# name: Notify Discord
|
||||||
needs: [buildwindows, buildmacos, buildlinux]
|
# needs: [buildwindows, buildmacos, buildlinux]
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Notify Discord
|
# - name: Notify Discord
|
||||||
run: |
|
# run: |
|
||||||
curl -i -H "Accept: application/json" \
|
# curl -i -H "Accept: application/json" \
|
||||||
-H "Content-Type:application/json" \
|
# -H "Content-Type:application/json" \
|
||||||
-X POST \
|
# -X POST \
|
||||||
--data "{\"content\": null,\"embeds\": [{\"title\": \"${{ github.repository }} Build Complete\", \"description\": \"Commit: ${{ github.sha }}\\n[Build Artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}#artifacts)\", \"color\": 5131997, \"author\": { \"name\": \"Github Builds\" } } ]}" \
|
# --data "{\"content\": null,\"embeds\": [{\"title\": \"${{ github.repository }} Build Complete\", \"description\": \"Commit: ${{ github.sha }}\\n[Build Artifacts](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}#artifacts)\", \"color\": 5131997, \"author\": { \"name\": \"Github Builds\" } } ]}" \
|
||||||
https://discord.com/api/webhooks/${{ secrets.WEBHOOK_ID }}/${{ secrets.WEBHOOK_TOKEN }}
|
# https://discord.com/api/webhooks/${{ secrets.WEBHOOK_ID }}/${{ secrets.WEBHOOK_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user