6 Commits

Author SHA1 Message Date
06503ce518 fix typo in tag-release
All checks were successful
CI / Build (push) Successful in 1m38s
CI / Test (push) Successful in 2m4s
CI / Lint (push) Successful in 2m7s
CI / Lint (pull_request) Successful in 1m30s
CI / Test (pull_request) Successful in 1m56s
CI / Build (pull_request) Successful in 1m36s
2024-05-20 04:49:48 -05:00
f8932166bb disable release update until fixed
All checks were successful
CI / Test (push) Successful in 1m10s
CI / Lint (push) Successful in 2m14s
CI / Test (pull_request) Successful in 1m39s
CI / Lint (pull_request) Successful in 1m54s
CI / Build (push) Successful in 3m3s
CI / Build (pull_request) Successful in 2m16s
2024-05-20 04:31:27 -05:00
ffd41348a0 small temporary fix for release updating not working
Some checks failed
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Lint (pull_request) Successful in 2m7s
CI / Test (pull_request) Successful in 1m56s
CI / Build (pull_request) Successful in 3m18s
2024-05-20 04:29:53 -05:00
s1d3sw1ped
ff6381575e Merge pull request 'update-develop' (#26) from update-develop into develop
All checks were successful
CI / Lint (push) Successful in 1m35s
CI / Test (push) Successful in 1m27s
CI / Lint (pull_request) Successful in 1m47s
CI / Test (pull_request) Successful in 1m23s
CI / Build (push) Successful in 2m43s
CI / Build (pull_request) Successful in 2m23s
Reviewed-on: #26
2024-05-20 07:21:42 +00:00
s1d3sw1ped
acb4401e37 Merge pull request 'fix-ci' (#25) from fix-ci into master
All checks were successful
CI / Test (push) Successful in 1m39s
CI / Lint (push) Successful in 1m48s
CI / Build (push) Successful in 2m57s
CI / Test (pull_request) Successful in 1m43s
CI / Lint (pull_request) Successful in 1m53s
CI / Build (pull_request) Successful in 2m50s
Reviewed-on: #25
2024-05-20 07:01:22 +00:00
76d8c1744a fix ci stuff for other things
All checks were successful
CI / Test (pull_request) Successful in 1m36s
CI / Lint (pull_request) Successful in 1m39s
CI / Build (pull_request) Successful in 2m39s
2024-05-20 01:58:17 -05:00
2 changed files with 23 additions and 7 deletions

View File

@@ -20,6 +20,11 @@ jobs:
check-latest: true
cache: true
- name: Setup OS dependencies
run: |
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: Install go dependencies
run: go mod tidy

View File

@@ -21,6 +21,11 @@ jobs:
check-latest: true
cache: true
- name: Setup OS dependencies
run: |
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: Install go dependencies
run: go mod tidy
@@ -87,7 +92,7 @@ jobs:
- name: Build for linux
run: |
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}
fyne build --release --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}
env:
VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}}
@@ -99,7 +104,7 @@ jobs:
- name: Build for windows
run: |
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}.exe
fyne build --release --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}.exe
env:
VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}}
@@ -109,9 +114,15 @@ jobs:
CGO_ENABLED: 1
CC: x86_64-w64-mingw32-gcc
- name: Release binaries
uses: https://gitea.com/actions/release-action@main
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
files: |-
bin/**
api_key: '${{secrets.RELEASE_TOKEN}}'
name: swiped-mod-switcher-${{github.ref_name}}-${{github.run_number}}
path: bin/
# - name: Release binaries
# uses: https://gitea.com/actions/release-action@main
# with:
# files: |-
# bin/**
# api_key: '${{secrets.RELEASE_TOKEN}}'