Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
ltt-mapmaker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Griefed
ltt-mapmaker
Commits
b53ba5c2
Commit
b53ba5c2
authored
3 years ago
by
Griefed
Browse files
Options
Downloads
Patches
Plain Diff
revert: Revert changes to archive names as it didn't work on windows-latest job
parent
bc8ffe10
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/github_release.yml
+9
-25
9 additions, 25 deletions
.github/workflows/github_release.yml
.github/workflows/test.yml
+7
-22
7 additions, 22 deletions
.github/workflows/test.yml
with
16 additions
and
47 deletions
.github/workflows/github_release.yml
+
9
−
25
View file @
b53ba5c2
...
...
@@ -153,22 +153,6 @@ jobs:
with
:
fetch-depth
:
0
-
name
:
Check for macOS
if
:
${{ matrix.os == 'macos-latest' }}
run
:
|
echo "os=MAC" >> $GITHUB_ENV
-
name
:
Check for Ubuntu
if
:
${{ matrix.os == 'ubuntu-latest' }}
run
:
|
echo "os=UBUNTU" >> $GITHUB_ENV
-
name
:
Check for Windows
if
:
${{ matrix.os == 'windows-latest' }}
run
:
|
echo "os=WINDOWS" >> $GITHUB_ENV
# SETUP NODE ENVIRONMENT
-
name
:
Setup Node.js environment
uses
:
actions/setup-node@v2.4.1
...
...
@@ -190,19 +174,19 @@ jobs:
-
name
:
Rename folders
run
:
|
mv dist/electron/Let* lttmm-${{
env
.os }}
mv dist/electron/Let* lttmm-${{
matrix
.os }}
# Electron Archives
-
name
:
Create zip
uses
:
ihiroky/archive-action@v1
with
:
root_dir
:
lttmm-${{
env
.os }}
file_path
:
lttmm-app-${{
env
.os }}-${{ needs.release.outputs.newtag }}.zip
root_dir
:
lttmm-${{
matrix
.os }}
file_path
:
lttmm-app-${{
matrix
.os }}-${{ needs.release.outputs.newtag }}.zip
-
name
:
Create tar.gz
uses
:
ihiroky/archive-action@v1
with
:
root_dir
:
lttmm-${{
env
.os }}
file_path
:
lttmm-app-${{
env
.os }}-${{ needs.release.outputs.newtag }}.tar.gz
root_dir
:
lttmm-${{
matrix
.os }}
file_path
:
lttmm-app-${{
matrix
.os }}-${{ needs.release.outputs.newtag }}.tar.gz
# Upload App Assets
-
name
:
Upload App Archive zip
...
...
@@ -212,8 +196,8 @@ jobs:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
upload_url
:
${{ needs.release.outputs.uploadurl }}
asset_path
:
./lttmm-app-${{
env
.os }}-${{ needs.release.outputs.newtag }}.zip
asset_name
:
lttmm-app-${{
env
.os }}-${{ needs.release.outputs.newtag }}.zip
asset_path
:
./lttmm-app-${{
matrix
.os }}-${{ needs.release.outputs.newtag }}.zip
asset_name
:
lttmm-app-${{
matrix
.os }}-${{ needs.release.outputs.newtag }}.zip
asset_content_type
:
application/zip
-
name
:
Upload App Archive tar.gz
id
:
upload-release-asset-archive-targz
...
...
@@ -222,6 +206,6 @@ jobs:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
upload_url
:
${{ needs.release.outputs.uploadurl }}
asset_path
:
./lttmm-app-${{
env
.os }}-${{ needs.release.outputs.newtag }}.tar.gz
asset_name
:
lttmm-app-${{
env
.os }}-${{ needs.release.outputs.newtag }}.tar.gz
asset_path
:
./lttmm-app-${{
matrix
.os }}-${{ needs.release.outputs.newtag }}.tar.gz
asset_name
:
lttmm-app-${{
matrix
.os }}-${{ needs.release.outputs.newtag }}.tar.gz
asset_content_type
:
application/gzip
This diff is collapsed.
Click to expand it.
.github/workflows/test.yml
+
7
−
22
View file @
b53ba5c2
...
...
@@ -62,21 +62,6 @@ jobs:
# 2. ubuntu-latest
# 3. windows-latest
-
name
:
Check for macOS
if
:
${{ matrix.os == 'macos-latest' }}
run
:
|
echo "os=MAC" >> $GITHUB_ENV
-
name
:
Check for Ubuntu
if
:
${{ matrix.os == 'ubuntu-latest' }}
run
:
|
echo "os=UBUNTU" >> $GITHUB_ENV
-
name
:
Check for Windows
if
:
${{ matrix.os == 'windows-latest' }}
run
:
|
echo "os=WINDOWS" >> $GITHUB_ENV
# SETUP NODE ENVIRONMENT
-
name
:
Setup Node.js environment
uses
:
actions/setup-node@v2.4.1
...
...
@@ -98,22 +83,22 @@ jobs:
-
name
:
Rename folders
run
:
|
mv dist/electron/Let* lttmm-${{
env
.os }}
mv dist/electron/Let* lttmm-${{
matrix
.os }}
# Electron Archives
-
name
:
Create zip
uses
:
ihiroky/archive-action@v1
with
:
root_dir
:
lttmm-${{
env
.os }}
base_dir
:
"
lttmm-${{
env
.os
}}"
file_path
:
lttmm-app-${{
env
.os }}.zip
root_dir
:
lttmm-${{
matrix
.os }}
base_dir
:
"
lttmm-${{
matrix
.os
}}"
file_path
:
lttmm-app-${{
matrix
.os }}.zip
verbose
:
true
-
name
:
Create tar.gz
uses
:
ihiroky/archive-action@v1
with
:
root_dir
:
lttmm-${{
env
.os }}
base_dir
:
"
lttmm-${{
env
.os
}}"
file_path
:
lttmm-app-${{
env
.os }}.tar.gz
root_dir
:
lttmm-${{
matrix
.os }}
base_dir
:
"
lttmm-${{
matrix
.os
}}"
file_path
:
lttmm-app-${{
matrix
.os }}.tar.gz
verbose
:
true
-
name
:
List files
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment