aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-artifacts.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-artifacts.yml')
-rw-r--r--.github/workflows/build-artifacts.yml45
1 files changed, 0 insertions, 45 deletions
diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml
deleted file mode 100644
index 99a1b0f..0000000
--- a/.github/workflows/build-artifacts.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-name: Build Artifacts
-
-on:
- workflow_dispatch:
- push:
- branches:
- - main
- pull_request:
-
-permissions:
- contents: write
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
-
- - name: Set up Go
- uses: actions/setup-go@v5
- with:
- go-version-file: go.mod
- cache: true
-
- - name: Install Mage
- run: |
- go install github.com/magefile/mage@v1.15.0
- echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
-
- - name: Build plugin and standalone binaries
- run: mage
-
- - name: Publish binaries to GitHub Release assets
- if: github.event_name != 'pull_request'
- uses: softprops/action-gh-release@v2
- with:
- tag_name: build-${{ github.sha }}
- name: Build ${{ github.sha }}
- prerelease: true
- files: |
- build/rclone-studip
- build/librcloneplugin_backend_studip.so
- fail_on_unmatched_files: true