Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c1885f174a | |||
|
|
0650dabb15 | ||
| 42af2d6d25 | |||
| 2dbc72bd39 | |||
| d46a142312 | |||
| caa699c651 | |||
|
|
c5f77582c0 | ||
|
|
f1603dc6fa | ||
|
|
12a9c101f2 |
@@ -5,8 +5,6 @@ on:
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -34,8 +32,6 @@ jobs:
|
||||
|
||||
test:
|
||||
name: Test
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -66,8 +62,6 @@ jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -95,7 +89,7 @@ jobs:
|
||||
|
||||
- name: Build for linux
|
||||
run: |
|
||||
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}.${BUILD}-${GOOS}-${GOARCH}
|
||||
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}-${BUILD}-${GOOS}-${GOARCH}
|
||||
env:
|
||||
VERSION: ${{github.ref_name}}
|
||||
BUILD: ${{github.run_number}}
|
||||
@@ -107,7 +101,7 @@ jobs:
|
||||
|
||||
- name: Build for windows
|
||||
run: |
|
||||
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}.${BUILD}-${GOOS}-${GOARCH}.exe
|
||||
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}-${BUILD}-${GOOS}-${GOARCH}.exe
|
||||
env:
|
||||
VERSION: ${{github.ref_name}}
|
||||
BUILD: ${{github.run_number}}
|
||||
|
||||
@@ -6,13 +6,14 @@ on:
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: test log
|
||||
run: env | sort
|
||||
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
@@ -35,8 +36,6 @@ jobs:
|
||||
|
||||
test:
|
||||
name: Test
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -67,8 +66,6 @@ jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -96,7 +93,7 @@ jobs:
|
||||
|
||||
- name: Build for linux
|
||||
run: |
|
||||
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}.${BUILD}-${GOOS}-${GOARCH}
|
||||
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}-${BUILD}-${GOOS}-${GOARCH}
|
||||
ls bin
|
||||
env:
|
||||
VERSION: ${{github.ref_name}}
|
||||
@@ -108,7 +105,7 @@ jobs:
|
||||
|
||||
- name: Build for windows
|
||||
run: |
|
||||
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}.${BUILD}-${GOOS}-${GOARCH}.exe
|
||||
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION}-${BUILD}-${GOOS}-${GOARCH}.exe
|
||||
ls bin
|
||||
env:
|
||||
VERSION: ${{github.ref_name}}
|
||||
|
||||
@@ -7,8 +7,6 @@ on:
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -36,8 +34,6 @@ jobs:
|
||||
|
||||
test:
|
||||
name: Test
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -92,7 +88,7 @@ jobs:
|
||||
|
||||
- name: Build for linux
|
||||
run: |
|
||||
fyne build --release --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}}
|
||||
@@ -104,7 +100,7 @@ jobs:
|
||||
|
||||
- name: Build for windows
|
||||
run: |
|
||||
fyne build --release --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}}
|
||||
@@ -120,9 +116,9 @@ jobs:
|
||||
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}}'
|
||||
- name: Release binaries
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
bin/**
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Swiped Mod Switcher
|
||||
A simple but effective mod switcher for simple game such as Sims and Cyberpunk 2077.
|
||||
A simple but effective mod switcher for simple game such as Sims.
|
||||
|
||||
it works by switching out a games mod folder with one of the ones made by you and placed under the profiles directory.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user