Skip to content

Commit f35f9e0

Browse files
kadiryazicikadiryazici
kadiryazici
authored andcommitted
Add missing env variables
1 parent 7c142f2 commit f35f9e0

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/release.yml

+12
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@ jobs:
4040
script: "return process.env.RUNS_ON === 'macos-latest' ? '--target universal-apple-darwin' : ''"
4141
result-encoding: string
4242

43+
- uses: actions/github-script@v6
44+
id: create-env
45+
with:
46+
script: |
47+
const content = `
48+
VITE_CLIENT_SECRET=${{ secrets.CLIENT_SECRET }}
49+
VITE_CLIENT_ID=${{ secrets.CLIENT_ID }}
50+
`
51+
const root = process.cwd();
52+
const fs = require('fs')
53+
fs.writeFileSync('.env', content, 'utf-8')
54+
4355
- name: install aarch64-apple-darwin
4456
run: 'rustup target add aarch64-apple-darwin'
4557

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gitification",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"type": "module",
55
"scripts": {
66
"dev": "run-p vite:dev devtools",

src-tauri/tauri.conf.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"package": {
1010
"productName": "Gitification",
11-
"version": "1.1.1"
11+
"version": "1.1.2"
1212
},
1313
"tauri": {
1414
"systemTray": {

0 commit comments

Comments
 (0)