Another approach
This commit is contained in:
@@ -46,6 +46,10 @@ jobs:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Write commit hash to file
|
||||
run: |
|
||||
echo $GITHUB_SHA > GITHUB_SHA
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4.4.0
|
||||
|
||||
@@ -16,6 +16,7 @@ jobs:
|
||||
deno-version: v2.4.3
|
||||
- name: Compile for all platforms
|
||||
run: |
|
||||
echo $GITHUB_SHA > GITHUB_SHA
|
||||
deno task build
|
||||
deno task server:zip:linux-x86_64
|
||||
deno task server:zip:linux-aarch64
|
||||
|
||||
@@ -21,7 +21,9 @@ jobs:
|
||||
with:
|
||||
deno-version: v2.4.5
|
||||
- name: Run build
|
||||
run: deno task build
|
||||
run: |
|
||||
echo $GITHUB_SHA > GITHUB_SHA
|
||||
deno task build
|
||||
- name: Publish to JSR
|
||||
run: deno publish --allow-dirty
|
||||
- name: Release
|
||||
|
||||
@@ -23,6 +23,7 @@ jobs:
|
||||
|
||||
- name: Build bundles
|
||||
run: |
|
||||
echo $GITHUB_SHA > GITHUB_SHA
|
||||
deno task build
|
||||
|
||||
- name: Compile for all platforms
|
||||
|
||||
Reference in New Issue
Block a user