Skip to content

Commit

Permalink
Removed publish from workflow (#389)
Browse files Browse the repository at this point in the history
* removed publish

* delete neo3-visual-tracker sln

* added back linux-musl-arm64
  • Loading branch information
cschuchardt88 authored Nov 27, 2023
1 parent a5aec4a commit 6144570
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 41 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ env:
jobs:
pack:
runs-on: ubuntu-latest

steps:
- name: echo
run: echo -e 'Hello World'

publish:
runs-on: ubuntu-latest
outputs:
PrereleaseVersion: ${{ steps.nbgv.outputs.PrereleaseVersion }}
NuGetPackageVersion: ${{ steps.nbgv.outputs.NuGetPackageVersion }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,3 @@ jobs:
pack:
needs: [test]
uses: ./.github/workflows/pack.yml
publish:
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/development')
needs: [pack]
uses: ./.github/workflows/pack.yml
60 changes: 30 additions & 30 deletions .github/workflows/standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,24 +165,24 @@ jobs:
-p:DebugType=embedded \
-p:ServerGarbageCollection=true
# - name: Build (linux-musl-arm64)
# run: |
# dotnet publish ./src/neoxp \
# --framework net7.0 \
# --configuration Release \
# --runtime linux-musl-arm64 \
# --self-contained true \
# --output ${{ env.UNIX_OUTPUT_DIR }}/linux-musl-arm64 \
# --verbosity normal \
# -p:RuntimeIdentifier=linux-musl-arm64 \
# -p:SelfContained=true \
# -p:IncludeNativeLibrariesForSelfExtract=false \
# -p:PublishTrimmed=false \
# -p:PublishSingleFile=true \
# -p:PublishReadyToRun=true \
# -p:EnableCompressionInSingleFile=true \
# -p:DebugType=embedded \
# -p:ServerGarbageCollection=true
- name: Build (linux-musl-arm64)
run: |
dotnet publish ./src/neoxp \
--framework net7.0 \
--configuration Release \
--runtime linux-musl-arm64 \
--self-contained true \
--output ${{ env.UNIX_OUTPUT_DIR }}/linux-musl-arm64 \
--verbosity normal \
-p:RuntimeIdentifier=linux-musl-arm64 \
-p:SelfContained=true \
-p:IncludeNativeLibrariesForSelfExtract=false \
-p:PublishTrimmed=false \
-p:PublishSingleFile=true \
-p:PublishReadyToRun=true \
-p:EnableCompressionInSingleFile=true \
-p:DebugType=embedded \
-p:ServerGarbageCollection=true
- name: Create Distribution Directory
run: |
Expand All @@ -202,12 +202,12 @@ jobs:
run: |
tar -czvf ${{ env.TAR_FILE }} .
# - name: Tarball (linux-musl-arm64)
# working-directory: ${{ env.UNIX_OUTPUT_DIR }}/linux-musl-arm64
# env:
# TAR_FILE: ${{ format('{0}/Neo.Express-linux-musl-arm64-{1}.tar.gz', env.UNIX_DIST_DIR, steps.nbgv.outputs.NuGetPackageVersion) }}
# run: |
# tar -czvf ${{ env.TAR_FILE }} .
- name: Tarball (linux-musl-arm64)
working-directory: ${{ env.UNIX_OUTPUT_DIR }}/linux-musl-arm64
env:
TAR_FILE: ${{ format('{0}/Neo.Express-linux-musl-arm64-{1}.tar.gz', env.UNIX_DIST_DIR, steps.nbgv.outputs.NuGetPackageVersion) }}
run: |
tar -czvf ${{ env.TAR_FILE }} .
- name: Generate SHA256 File (linux-x64)
working-directory: ${{ env.UNIX_DIST_DIR }}
Expand All @@ -223,12 +223,12 @@ jobs:
run: |
sha256sum ${{ env.TAR_FILE }} > ${{ env.TAR_FILE }}.sha256
# - name: Generate SHA256 File (linux-musl-arm64)
# working-directory: ${{ env.UNIX_DIST_DIR }}
# env:
# TAR_FILE: ${{ format('Neo.Express-linux-musl-arm64-{0}.tar.gz', steps.nbgv.outputs.NuGetPackageVersion) }}
# run: |
# sha256sum ${{ env.TAR_FILE }} > ${{ env.TAR_FILE }}.sha256
- name: Generate SHA256 File (linux-musl-arm64)
working-directory: ${{ env.UNIX_DIST_DIR }}
env:
TAR_FILE: ${{ format('Neo.Express-linux-musl-arm64-{0}.tar.gz', steps.nbgv.outputs.NuGetPackageVersion) }}
run: |
sha256sum ${{ env.TAR_FILE }} > ${{ env.TAR_FILE }}.sha256
- name: Upload Tarballs (Standalone)
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 6144570

Please sign in to comment.