Add: environment in GitHub Action

This commit is contained in:
33 committed 2023-01-04 15:12:17 +08:00
1 parent 776e31e158
commit 81bf422250
8 files changed
+26 -14

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
environment: Build
steps:
-
name: Checkout
@@ -31,5 +32,5 @@ jobs:
-
uses: actions/upload-artifact@v3
with:
name: CustomSkinLoader-Beta-${{ env.GITHUB_RUN_NUMBER }}
name: CustomSkinLoader-Beta-${{ github.run_number }}
path: build/libs
+2 -1
View File
@@ -7,6 +7,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
environment: Build
steps:
-
name: Checkout
@@ -31,5 +32,5 @@ jobs:
-
uses: actions/upload-artifact@v3
with:
name: CustomSkinLoader-Canary-${{ env.GITHUB_RUN_NUMBER }}
name: CustomSkinLoader-Canary-${{ github.run_number }}
path: build/libs
+2 -1
View File
@@ -7,6 +7,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
environment: Build
steps:
-
name: Checkout
@@ -32,5 +33,5 @@ jobs:
-
uses: actions/upload-artifact@v3
with:
name: CustomSkinLoader-Beta-${{ env.GITHUB_RUN_NUMBER }}
name: CustomSkinLoader-Beta-${{ github.run_number }}
path: build/libs